| 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-2025, Free Software Foundation, Inc. -- |
| 10 |
-- -- |
| 11 |
-- GNAT is free software; you can redistribute it and/or modify it under -- |
| 12 |
-- terms of the GNU General Public License as published by the Free Soft- -- |
| 13 |
-- ware Foundation; either version 3, or (at your option) any later ver- -- |
| 14 |
-- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- |
| 15 |
-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- |
| 16 |
-- or FITNESS FOR A PARTICULAR PURPOSE. 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 COPYING3. If not, go to -- |
| 19 |
-- http://www.gnu.org/licenses for a complete copy of the license. -- |
| 20 |
-- -- |
| 21 |
-- GNAT was originally developed by the GNAT team at New York University. -- |
| 22 |
-- Extensive contributions were provided by Ada Core Technologies Inc. -- |
| 23 |
-- -- |
| 24 |
------------------------------------------------------------------------------ |
| 25 |
|
| 26 |
with Namet; use Namet; |
| 27 |
|
| 28 |
package Snames is |
| 29 |
|
| 30 |
-- This package contains definitions of standard names (i.e. entries in |
| 31 |
-- the Names table) that are used throughout the GNAT compiler. It also |
| 32 |
-- contains the definitions of some enumeration types whose definitions |
| 33 |
-- are tied to the order of these preset names. |
| 34 |
|
| 35 |
-- NOTE WELL: If you add names of attributes, the enumeration type |
| 36 |
-- Attribute_Id must be kept in synch (same names in same order, with |
| 37 |
-- some exceptions). See the body of Get_Attribute_Id for details. The |
| 38 |
-- same is true of other enumeration types declared in this package. |
| 39 |
|
| 40 |
-- ALSO NOTE: In the case of a name that corresponds to both an attribute |
| 41 |
-- and a pragma, the Name_Id must be defined in the attribute section |
| 42 |
-- (between First_Attribute_Name and Last_Attribute_Name). Also, please |
| 43 |
-- add a comment in the list of Name_Ids at the point where the name would |
| 44 |
-- normally appear alphabetically (for an example, see comment starting |
| 45 |
-- "Note: CPU ..."). The Pragma_Id with that name must be defined in the |
| 46 |
-- last section of literals for type Pragma_Id (see set of Pragma_Ids that |
| 47 |
-- require special processing due to matching an attribute name). Finally, |
| 48 |
-- the bodies of functions Get_Pragma_Id and Is_Pragma_Name must be updated |
| 49 |
-- to test for each such pragma that shares a name with an attribute. |
| 50 |
|
| 51 |
------------------ |
| 52 |
-- Preset Names -- |
| 53 |
------------------ |
| 54 |
|
| 55 |
-- The following are preset entries in the names table, which are entered |
| 56 |
-- at the start of every compilation for easy access. Note that the order |
| 57 |
-- of initialization of these names in the body must be coordinated with |
| 58 |
-- the order of names in this table. |
| 59 |
|
| 60 |
-- Note: a name may not appear more than once in the following list. If |
| 61 |
-- additional pragmas or attributes are introduced which might otherwise |
| 62 |
-- cause a duplicate, then list it only once in this table, and adjust the |
| 63 |
-- definition of the functions for testing for pragma names and attribute |
| 64 |
-- names, and returning their ID values. Of course everything is simpler if |
| 65 |
-- no such duplications occur. |
| 66 |
|
| 67 |
-- First we have the one character names used to optimize the lookup |
| 68 |
-- process for one character identifiers (to avoid the hashing in this |
| 69 |
-- case) There are a full 256 of these, but only the entries for lower |
| 70 |
-- case and upper case letters have identifiers |
| 71 |
|
| 72 |
-- The lower case letter entries are used for one character identifiers |
| 73 |
-- appearing in the source, for example in pragma Interface (C). |
| 74 |
|
| 75 |
Name_A : constant Name_Id := First_Name_Id + Character'Pos ('a'); |
| 76 |
Name_B : constant Name_Id := First_Name_Id + Character'Pos ('b'); |
| 77 |
Name_C : constant Name_Id := First_Name_Id + Character'Pos ('c'); |
| 78 |
Name_D : constant Name_Id := First_Name_Id + Character'Pos ('d'); |
| 79 |
Name_E : constant Name_Id := First_Name_Id + Character'Pos ('e'); |
| 80 |
Name_F : constant Name_Id := First_Name_Id + Character'Pos ('f'); |
| 81 |
Name_G : constant Name_Id := First_Name_Id + Character'Pos ('g'); |
| 82 |
Name_H : constant Name_Id := First_Name_Id + Character'Pos ('h'); |
| 83 |
Name_I : constant Name_Id := First_Name_Id + Character'Pos ('i'); |
| 84 |
Name_J : constant Name_Id := First_Name_Id + Character'Pos ('j'); |
| 85 |
Name_K : constant Name_Id := First_Name_Id + Character'Pos ('k'); |
| 86 |
Name_L : constant Name_Id := First_Name_Id + Character'Pos ('l'); |
| 87 |
Name_M : constant Name_Id := First_Name_Id + Character'Pos ('m'); |
| 88 |
Name_N : constant Name_Id := First_Name_Id + Character'Pos ('n'); |
| 89 |
Name_O : constant Name_Id := First_Name_Id + Character'Pos ('o'); |
| 90 |
Name_P : constant Name_Id := First_Name_Id + Character'Pos ('p'); |
| 91 |
Name_Q : constant Name_Id := First_Name_Id + Character'Pos ('q'); |
| 92 |
Name_R : constant Name_Id := First_Name_Id + Character'Pos ('r'); |
| 93 |
Name_S : constant Name_Id := First_Name_Id + Character'Pos ('s'); |
| 94 |
Name_T : constant Name_Id := First_Name_Id + Character'Pos ('t'); |
| 95 |
Name_U : constant Name_Id := First_Name_Id + Character'Pos ('u'); |
| 96 |
Name_V : constant Name_Id := First_Name_Id + Character'Pos ('v'); |
| 97 |
Name_W : constant Name_Id := First_Name_Id + Character'Pos ('w'); |
| 98 |
Name_X : constant Name_Id := First_Name_Id + Character'Pos ('x'); |
| 99 |
Name_Y : constant Name_Id := First_Name_Id + Character'Pos ('y'); |
| 100 |
Name_Z : constant Name_Id := First_Name_Id + Character'Pos ('z'); |
| 101 |
|
| 102 |
-- The upper case letter entries are used by expander code for local |
| 103 |
-- variables that do not require unique names (e.g. formal parameter names |
| 104 |
-- in constructed procedures). |
| 105 |
|
| 106 |
Name_uA : constant Name_Id := First_Name_Id + Character'Pos ('A'); |
| 107 |
Name_uB : constant Name_Id := First_Name_Id + Character'Pos ('B'); |
| 108 |
Name_uC : constant Name_Id := First_Name_Id + Character'Pos ('C'); |
| 109 |
Name_uD : constant Name_Id := First_Name_Id + Character'Pos ('D'); |
| 110 |
Name_uE : constant Name_Id := First_Name_Id + Character'Pos ('E'); |
| 111 |
Name_uF : constant Name_Id := First_Name_Id + Character'Pos ('F'); |
| 112 |
Name_uG : constant Name_Id := First_Name_Id + Character'Pos ('G'); |
| 113 |
Name_uH : constant Name_Id := First_Name_Id + Character'Pos ('H'); |
| 114 |
Name_uI : constant Name_Id := First_Name_Id + Character'Pos ('I'); |
| 115 |
Name_uJ : constant Name_Id := First_Name_Id + Character'Pos ('J'); |
| 116 |
Name_uK : constant Name_Id := First_Name_Id + Character'Pos ('K'); |
| 117 |
Name_uL : constant Name_Id := First_Name_Id + Character'Pos ('L'); |
| 118 |
Name_uM : constant Name_Id := First_Name_Id + Character'Pos ('M'); |
| 119 |
Name_uN : constant Name_Id := First_Name_Id + Character'Pos ('N'); |
| 120 |
Name_uO : constant Name_Id := First_Name_Id + Character'Pos ('O'); |
| 121 |
Name_uP : constant Name_Id := First_Name_Id + Character'Pos ('P'); |
| 122 |
Name_uQ : constant Name_Id := First_Name_Id + Character'Pos ('Q'); |
| 123 |
Name_uR : constant Name_Id := First_Name_Id + Character'Pos ('R'); |
| 124 |
Name_uS : constant Name_Id := First_Name_Id + Character'Pos ('S'); |
| 125 |
Name_uT : constant Name_Id := First_Name_Id + Character'Pos ('T'); |
| 126 |
Name_uU : constant Name_Id := First_Name_Id + Character'Pos ('U'); |
| 127 |
Name_uV : constant Name_Id := First_Name_Id + Character'Pos ('V'); |
| 128 |
Name_uW : constant Name_Id := First_Name_Id + Character'Pos ('W'); |
| 129 |
Name_uX : constant Name_Id := First_Name_Id + Character'Pos ('X'); |
| 130 |
Name_uY : constant Name_Id := First_Name_Id + Character'Pos ('Y'); |
| 131 |
Name_uZ : constant Name_Id := First_Name_Id + Character'Pos ('Z'); |
| 132 |
|
| 133 |
-- Note: the following table is read by the utility program 'xsnamest', and |
| 134 |
-- its format should not be changed without coordinating with this program. |
| 135 |
|
| 136 |
N : constant Name_Id := First_Name_Id + 256; |
| 137 |
-- Synonym used in standard name definitions |
| 138 |
|
| 139 |
-- Names referenced in snames.h |
| 140 |
|
| 141 |
Name_uParent : constant Name_Id := N + $; |
| 142 |
Name_uTag : constant Name_Id := N + $; |
| 143 |
Name_Off : constant Name_Id := N + $; |
| 144 |
Name_Space : constant Name_Id := N + $; |
| 145 |
Name_Time : constant Name_Id := N + $; |
| 146 |
|
| 147 |
-- Names of aspects for which there are no matching pragmas or attributes |
| 148 |
-- so that they need to be included for aspect specification use. |
| 149 |
|
| 150 |
Name_Default_Value : constant Name_Id := N + $; |
| 151 |
Name_Default_Component_Value : constant Name_Id := N + $; |
| 152 |
Name_Designated_Storage_Model : constant Name_Id := N + $; |
| 153 |
Name_Dimension : constant Name_Id := N + $; |
| 154 |
Name_Dimension_System : constant Name_Id := N + $; |
| 155 |
Name_Disable_Controlled : constant Name_Id := N + $; |
| 156 |
Name_Dynamic_Predicate : constant Name_Id := N + $; |
| 157 |
Name_Exclusive_Functions : constant Name_Id := N + $; |
| 158 |
Name_External_Initialization : constant Name_Id := N + $; |
| 159 |
Name_Finalizable : constant Name_Id := N + $; |
| 160 |
Name_Full_Access_Only : constant Name_Id := N + $; |
| 161 |
Name_Ghost_Predicate : constant Name_Id := N + $; |
| 162 |
Name_Integer_Literal : constant Name_Id := N + $; |
| 163 |
Name_Local_Restrictions : constant Name_Id := N + $; |
| 164 |
Name_No_Controlled_Parts : constant Name_Id := N + $; |
| 165 |
Name_No_Task_Parts : constant Name_Id := N + $; |
| 166 |
Name_Real_Literal : constant Name_Id := N + $; |
| 167 |
Name_Relaxed_Initialization : constant Name_Id := N + $; |
| 168 |
Name_Stable_Properties : constant Name_Id := N + $; |
| 169 |
Name_Static_Predicate : constant Name_Id := N + $; |
| 170 |
Name_Storage_Model_Type : constant Name_Id := N + $; |
| 171 |
Name_String_Literal : constant Name_Id := N + $; |
| 172 |
Name_Synchronization : constant Name_Id := N + $; |
| 173 |
Name_Unimplemented : constant Name_Id := N + $; |
| 174 |
Name_User_Aspect : constant Name_Id := N + $; |
| 175 |
|
| 176 |
-- Some special names used by the expander. Note that the lower case u's |
| 177 |
-- at the start of these names get translated to extra underscores. These |
| 178 |
-- names are only referenced internally by expander generated code. |
| 179 |
|
| 180 |
Name_uAbort_Signal : constant Name_Id := N + $; |
| 181 |
Name_uAlignment : constant Name_Id := N + $; |
| 182 |
Name_uAssign : constant Name_Id := N + $; |
| 183 |
Name_uATCB : constant Name_Id := N + $; |
| 184 |
Name_uChain : constant Name_Id := N + $; |
| 185 |
Name_uController : constant Name_Id := N + $; |
| 186 |
Name_uCPU : constant Name_Id := N + $; |
| 187 |
Name_uDispatching_Domain : constant Name_Id := N + $; |
| 188 |
Name_uFinalizer : constant Name_Id := N + $; |
| 189 |
Name_uFinalizer_Old : constant Name_Id := N + $; |
| 190 |
Name_uFinalization_Controller : constant Name_Id := N + $; |
| 191 |
Name_uInit : constant Name_Id := N + $; |
| 192 |
Name_uInit_Level : constant Name_Id := N + $; |
| 193 |
Name_uInvariant : constant Name_Id := N + $; |
| 194 |
Name_uMaster : constant Name_Id := N + $; |
| 195 |
Name_uObject : constant Name_Id := N + $; |
| 196 |
Name_uPost : constant Name_Id := N + $; |
| 197 |
Name_uPostcond_Enabled : constant Name_Id := N + $; |
| 198 |
Name_uPre : constant Name_Id := N + $; |
| 199 |
Name_uPriority : constant Name_Id := N + $; |
| 200 |
Name_uRelative_Deadline : constant Name_Id := N + $; |
| 201 |
Name_uResult : constant Name_Id := N + $; |
| 202 |
Name_uResult_Object_For_Postcond : constant Name_Id := N + $; |
| 203 |
Name_uReturn_Success_For_Postcond : constant Name_Id := N + $; |
| 204 |
Name_uSecondary_Stack : constant Name_Id := N + $; |
| 205 |
Name_uSecondary_Stack_Size : constant Name_Id := N + $; |
| 206 |
Name_uSize : constant Name_Id := N + $; |
| 207 |
Name_uStack : constant Name_Id := N + $; |
| 208 |
Name_uTask : constant Name_Id := N + $; |
| 209 |
Name_uTask_Id : constant Name_Id := N + $; |
| 210 |
Name_uTask_Info : constant Name_Id := N + $; |
| 211 |
Name_uTask_Name : constant Name_Id := N + $; |
| 212 |
Name_uType_Invariant : constant Name_Id := N + $; |
| 213 |
Name_uVariants : constant Name_Id := N + $; |
| 214 |
Name_uWrapped_Statements : constant Name_Id := N + $; |
| 215 |
|
| 216 |
-- Names of predefined primitives used in the expansion of dispatching |
| 217 |
-- requeue and select statements, Abort, 'Callable and 'Terminated. |
| 218 |
|
| 219 |
Name_uDisp_Asynchronous_Select : constant Name_Id := N + $; |
| 220 |
Name_uDisp_Conditional_Select : constant Name_Id := N + $; |
| 221 |
Name_uDisp_Get_Prim_Op_Kind : constant Name_Id := N + $; |
| 222 |
Name_uDisp_Get_Task_Id : constant Name_Id := N + $; |
| 223 |
Name_uDisp_Requeue : constant Name_Id := N + $; |
| 224 |
Name_uDisp_Timed_Select : constant Name_Id := N + $; |
| 225 |
|
| 226 |
-- Names of routines and fields in Ada.Finalization, needed by expander |
| 227 |
|
| 228 |
Name_Initialize : constant Name_Id := N + $; |
| 229 |
Name_Adjust : constant Name_Id := N + $; |
| 230 |
Name_Finalize : constant Name_Id := N + $; |
| 231 |
Name_Finalize_Address : constant Name_Id := N + $; |
| 232 |
Name_Next : constant Name_Id := N + $; |
| 233 |
Name_Prev : constant Name_Id := N + $; |
| 234 |
|
| 235 |
-- Names of allocation routines, also needed by expander |
| 236 |
|
| 237 |
Name_Allocate : constant Name_Id := N + $; |
| 238 |
Name_Deallocate : constant Name_Id := N + $; |
| 239 |
Name_Dereference : constant Name_Id := N + $; |
| 240 |
|
| 241 |
-- Text_IO generic subpackages (see Rtsfind.Check_Text_IO_Special_Unit) |
| 242 |
|
| 243 |
First_Text_IO_Package : constant Name_Id := N + $; |
| 244 |
Name_Decimal_IO : constant Name_Id := N + $; |
| 245 |
Name_Enumeration_IO : constant Name_Id := N + $; |
| 246 |
Name_Fixed_IO : constant Name_Id := N + $; |
| 247 |
Name_Float_IO : constant Name_Id := N + $; |
| 248 |
Name_Integer_IO : constant Name_Id := N + $; |
| 249 |
Name_Modular_IO : constant Name_Id := N + $; |
| 250 |
Last_Text_IO_Package : constant Name_Id := N + $; |
| 251 |
|
| 252 |
subtype Text_IO_Package_Name is Name_Id |
| 253 |
range First_Text_IO_Package .. Last_Text_IO_Package; |
| 254 |
|
| 255 |
-- Names used by the analyzer and expander for aspect Dimension and |
| 256 |
-- Dimension_System to deal with Sqrt and IO routines. |
| 257 |
|
| 258 |
Name_Dim_Symbol : constant Name_Id := N + $; -- Ada 12 |
| 259 |
Name_Item : constant Name_Id := N + $; -- Ada 12 |
| 260 |
Name_Put_Dim_Of : constant Name_Id := N + $; -- Ada 12 |
| 261 |
Name_Sqrt : constant Name_Id := N + $; -- Ada 12 |
| 262 |
Name_Symbol : constant Name_Id := N + $; -- Ada 12 |
| 263 |
Name_Unit_Symbol : constant Name_Id := N + $; -- Ada 12 |
| 264 |
|
| 265 |
-- Some miscellaneous names used for error detection/recovery |
| 266 |
|
| 267 |
Name_ASCII : constant Name_Id := N + $; |
| 268 |
Name_Const : constant Name_Id := N + $; |
| 269 |
Name_Error : constant Name_Id := N + $; |
| 270 |
Name_False : constant Name_Id := N + $; |
| 271 |
Name_Go : constant Name_Id := N + $; |
| 272 |
Name_Put : constant Name_Id := N + $; |
| 273 |
Name_Put_Line : constant Name_Id := N + $; |
| 274 |
Name_To : constant Name_Id := N + $; |
| 275 |
|
| 276 |
-- Name used by the integrated preprocessor |
| 277 |
|
| 278 |
Name_Defined : constant Name_Id := N + $; |
| 279 |
|
| 280 |
-- Names for packages that are treated specially by the compiler |
| 281 |
|
| 282 |
Name_Arith_64 : constant Name_Id := N + $; |
| 283 |
Name_Arith_128 : constant Name_Id := N + $; |
| 284 |
Name_Exception_Traces : constant Name_Id := N + $; |
| 285 |
Name_Finalization : constant Name_Id := N + $; |
| 286 |
Name_Interfaces : constant Name_Id := N + $; |
| 287 |
Name_Memory : constant Name_Id := N + $; |
| 288 |
Name_Memory_Compare : constant Name_Id := N + $; |
| 289 |
Name_Memory_Copy : constant Name_Id := N + $; |
| 290 |
Name_Memory_Move : constant Name_Id := N + $; |
| 291 |
Name_Memory_Set : constant Name_Id := N + $; |
| 292 |
Name_Most_Recent_Exception : constant Name_Id := N + $; |
| 293 |
Name_Stack_Checking : constant Name_Id := N + $; |
| 294 |
Name_Standard : constant Name_Id := N + $; |
| 295 |
Name_System : constant Name_Id := N + $; |
| 296 |
Name_Text_IO : constant Name_Id := N + $; |
| 297 |
Name_Wide_Text_IO : constant Name_Id := N + $; |
| 298 |
Name_Wide_Wide_Text_IO : constant Name_Id := N + $; |
| 299 |
|
| 300 |
-- Names for detecting predefined potentially blocking subprograms |
| 301 |
|
| 302 |
Name_Abort_Task : constant Name_Id := N + $; |
| 303 |
Name_Bounded_IO : constant Name_Id := N + $; |
| 304 |
Name_C_Streams : constant Name_Id := N + $; |
| 305 |
Name_Complex_IO : constant Name_Id := N + $; |
| 306 |
Name_Directories : constant Name_Id := N + $; |
| 307 |
Name_Direct_IO : constant Name_Id := N + $; |
| 308 |
Name_Dispatching : constant Name_Id := N + $; |
| 309 |
Name_Editing : constant Name_Id := N + $; |
| 310 |
Name_EDF : constant Name_Id := N + $; |
| 311 |
Name_Reset_Standard_Files : constant Name_Id := N + $; |
| 312 |
Name_Sequential_IO : constant Name_Id := N + $; |
| 313 |
Name_Strings : constant Name_Id := N + $; |
| 314 |
Name_Streams : constant Name_Id := N + $; |
| 315 |
Name_Suspend_Until_True : constant Name_Id := N + $; |
| 316 |
Name_Suspend_Until_True_And_Set_Deadline : constant Name_Id := N + $; |
| 317 |
Name_Synchronous_Barriers : constant Name_Id := N + $; |
| 318 |
Name_Task_Identification : constant Name_Id := N + $; |
| 319 |
Name_Text_Streams : constant Name_Id := N + $; |
| 320 |
Name_Unbounded : constant Name_Id := N + $; |
| 321 |
Name_Unbounded_IO : constant Name_Id := N + $; |
| 322 |
Name_Wait_For_Release : constant Name_Id := N + $; |
| 323 |
Name_Wide_Unbounded : constant Name_Id := N + $; |
| 324 |
Name_Wide_Wide_Unbounded : constant Name_Id := N + $; |
| 325 |
Name_Yield : constant Name_Id := N + $; |
| 326 |
|
| 327 |
-- Names of implementations of the distributed systems annex |
| 328 |
|
| 329 |
First_PCS_Name : constant Name_Id := N + $; |
| 330 |
Name_No_DSA : constant Name_Id := N + $; |
| 331 |
Name_GARLIC_DSA : constant Name_Id := N + $; |
| 332 |
Name_PolyORB_DSA : constant Name_Id := N + $; |
| 333 |
Last_PCS_Name : constant Name_Id := N + $; |
| 334 |
|
| 335 |
subtype PCS_Names is Name_Id |
| 336 |
range First_PCS_Name .. Last_PCS_Name; |
| 337 |
|
| 338 |
-- Names of identifiers used in expanding distribution stubs |
| 339 |
|
| 340 |
Name_Addr : constant Name_Id := N + $; |
| 341 |
Name_Async : constant Name_Id := N + $; |
| 342 |
Name_Get_Active_Partition_ID : constant Name_Id := N + $; |
| 343 |
Name_Get_RCI_Package_Receiver : constant Name_Id := N + $; |
| 344 |
Name_Get_RCI_Package_Ref : constant Name_Id := N + $; |
| 345 |
Name_Origin : constant Name_Id := N + $; |
| 346 |
Name_Params : constant Name_Id := N + $; |
| 347 |
Name_Partition : constant Name_Id := N + $; |
| 348 |
Name_Ras : constant Name_Id := N + $; |
| 349 |
Name_uCall : constant Name_Id := N + $; |
| 350 |
Name_RCI_Name : constant Name_Id := N + $; |
| 351 |
Name_Receiver : constant Name_Id := N + $; |
| 352 |
Name_Rpc : constant Name_Id := N + $; |
| 353 |
Name_Subp_Id : constant Name_Id := N + $; |
| 354 |
Name_Operation : constant Name_Id := N + $; |
| 355 |
Name_Argument : constant Name_Id := N + $; |
| 356 |
Name_Arg_Modes : constant Name_Id := N + $; |
| 357 |
Name_Target : constant Name_Id := N + $; |
| 358 |
Name_Req : constant Name_Id := N + $; |
| 359 |
Name_Obj_TypeCode : constant Name_Id := N + $; |
| 360 |
Name_Stub : constant Name_Id := N + $; |
| 361 |
|
| 362 |
-- Operator Symbol entries. The actual names have an upper case O at the |
| 363 |
-- start in place of the Op_ prefix (e.g. the actual name that corresponds |
| 364 |
-- to Name_Op_Abs is "Oabs"). |
| 365 |
|
| 366 |
First_Operator_Name : constant Name_Id := N + $; |
| 367 |
Name_Op_Abs : constant Name_Id := N + $; -- "abs" |
| 368 |
Name_Op_And : constant Name_Id := N + $; -- "and" |
| 369 |
Name_Op_Mod : constant Name_Id := N + $; -- "mod" |
| 370 |
Name_Op_Not : constant Name_Id := N + $; -- "not" |
| 371 |
Name_Op_Or : constant Name_Id := N + $; -- "or" |
| 372 |
Name_Op_Rem : constant Name_Id := N + $; -- "rem" |
| 373 |
Name_Op_Xor : constant Name_Id := N + $; -- "xor" |
| 374 |
Name_Op_Eq : constant Name_Id := N + $; -- "=" |
| 375 |
Name_Op_Ne : constant Name_Id := N + $; -- "/=" |
| 376 |
Name_Op_Lt : constant Name_Id := N + $; -- "<" |
| 377 |
Name_Op_Le : constant Name_Id := N + $; -- "<=" |
| 378 |
Name_Op_Gt : constant Name_Id := N + $; -- ">" |
| 379 |
Name_Op_Ge : constant Name_Id := N + $; -- ">=" |
| 380 |
Name_Op_Add : constant Name_Id := N + $; -- "+" |
| 381 |
Name_Op_Subtract : constant Name_Id := N + $; -- "-" |
| 382 |
Name_Op_Concat : constant Name_Id := N + $; -- "&" |
| 383 |
Name_Op_Multiply : constant Name_Id := N + $; -- "*" |
| 384 |
Name_Op_Divide : constant Name_Id := N + $; -- "/" |
| 385 |
Name_Op_Expon : constant Name_Id := N + $; -- "**" |
| 386 |
Last_Operator_Name : constant Name_Id := N + $; |
| 387 |
|
| 388 |
-- Names for all pragmas recognized by GNAT. The entries with the comment |
| 389 |
-- "Ada 83" are pragmas that are defined in Ada 83, but not in Ada 95. |
| 390 |
-- These pragmas are fully implemented in all modes (Ada 83, Ada 95, and |
| 391 |
-- Ada 2005). In Ada 95 and Ada 2005 modes, they are technically considered |
| 392 |
-- to be implementation dependent pragmas. |
| 393 |
|
| 394 |
-- The entries marked GNAT are pragmas that are defined by GNAT and that |
| 395 |
-- are implemented in all modes (Ada 83, Ada 95, and Ada 2005). Complete |
| 396 |
-- descriptions of the syntax of these implementation dependent pragmas may |
| 397 |
-- be found in the appropriate section in unit Sem_Prag in file |
| 398 |
-- sem-prag.adb, and they are documented in the GNAT reference manual. |
| 399 |
|
| 400 |
-- The entries marked Ada 05 are Ada 2005 pragmas. They are implemented in |
| 401 |
-- Ada 83 and Ada 95 mode as well, where they are technically considered to |
| 402 |
-- be implementation dependent pragmas. |
| 403 |
|
| 404 |
-- The entries marked Ada 12 are Ada 2012 pragmas. They are implemented in |
| 405 |
-- Ada 83, Ada 95, and Ada 2005 mode as well, where they are technically |
| 406 |
-- considered to be implementation dependent pragmas. |
| 407 |
|
| 408 |
First_Pragma_Name : constant Name_Id := N + $; |
| 409 |
|
| 410 |
-- Configuration pragmas are grouped at start. Note that there is a list |
| 411 |
-- of them in the GNAT UG (doc/gnat_ugn/the_gnat_compilation_model.rst), |
| 412 |
-- be sure to update this list if a new configuration pragma is added. |
| 413 |
|
| 414 |
Name_Ada_83 : constant Name_Id := N + $; -- GNAT |
| 415 |
Name_Ada_95 : constant Name_Id := N + $; -- GNAT |
| 416 |
Name_Ada_05 : constant Name_Id := N + $; -- GNAT |
| 417 |
Name_Ada_2005 : constant Name_Id := N + $; -- GNAT |
| 418 |
Name_Ada_12 : constant Name_Id := N + $; -- GNAT |
| 419 |
Name_Ada_2012 : constant Name_Id := N + $; -- GNAT |
| 420 |
Name_Ada_2022 : constant Name_Id := N + $; -- GNAT |
| 421 |
Name_Aggregate_Individually_Assign : constant Name_Id := N + $; -- GNAT |
| 422 |
Name_Allow_Integer_Address : constant Name_Id := N + $; -- GNAT |
| 423 |
Name_Annotate : constant Name_Id := N + $; -- GNAT |
| 424 |
Name_Assertion_Policy : constant Name_Id := N + $; -- Ada 05 |
| 425 |
Name_Assume_No_Invalid_Values : constant Name_Id := N + $; -- GNAT |
| 426 |
Name_C_Pass_By_Copy : constant Name_Id := N + $; -- GNAT |
| 427 |
Name_Check_Float_Overflow : constant Name_Id := N + $; -- GNAT |
| 428 |
Name_Check_Name : constant Name_Id := N + $; -- GNAT |
| 429 |
Name_Check_Policy : constant Name_Id := N + $; -- GNAT |
| 430 |
Name_Component_Alignment : constant Name_Id := N + $; -- GNAT |
| 431 |
Name_Convention_Identifier : constant Name_Id := N + $; -- GNAT |
| 432 |
Name_Debug_Policy : constant Name_Id := N + $; -- GNAT |
| 433 |
|
| 434 |
-- Note: Default_Scalar_Storage_Order is not in this list because its name |
| 435 |
-- matches the name of the corresponding attribute. However, it is included |
| 436 |
-- in the definition of the type Pragma_Id, and the functions Get_Pragma_Id |
| 437 |
-- and Is_Pragma_Name correctly recognize Default_Scalar_Storage_Order. |
| 438 |
|
| 439 |
Name_Default_Storage_Pool : constant Name_Id := N + $; -- Ada 12 |
| 440 |
Name_Detect_Blocking : constant Name_Id := N + $; -- Ada 05 |
| 441 |
Name_Disable_Atomic_Synchronization : constant Name_Id := N + $; -- GNAT |
| 442 |
Name_Discard_Names : constant Name_Id := N + $; |
| 443 |
Name_Elaboration_Checks : constant Name_Id := N + $; -- GNAT |
| 444 |
Name_Eliminate : constant Name_Id := N + $; -- GNAT |
| 445 |
Name_Enable_Atomic_Synchronization : constant Name_Id := N + $; -- GNAT |
| 446 |
Name_Extend_System : constant Name_Id := N + $; -- GNAT |
| 447 |
Name_Extensions_Allowed : constant Name_Id := N + $; -- GNAT |
| 448 |
Name_External_Name_Casing : constant Name_Id := N + $; -- GNAT |
| 449 |
|
| 450 |
-- Note: Fast_Math is not in this list because its name matches the name of |
| 451 |
-- the corresponding attribute. However, it is included in the definition |
| 452 |
-- of the type Pragma_Id and the functions Get_Pragma_Id and Is_Pragma_Name |
| 453 |
-- correctly recognize and process Fast_Math. |
| 454 |
|
| 455 |
Name_Favor_Top_Level : constant Name_Id := N + $; -- GNAT |
| 456 |
Name_GNAT_Annotate : constant Name_Id := N + $; -- GNAT |
| 457 |
Name_Ignore_Pragma : constant Name_Id := N + $; -- GNAT |
| 458 |
Name_Implicit_Packing : constant Name_Id := N + $; -- GNAT |
| 459 |
Name_Initialize_Scalars : constant Name_Id := N + $; -- GNAT |
| 460 |
Name_Interrupt_State : constant Name_Id := N + $; -- GNAT |
| 461 |
Name_License : constant Name_Id := N + $; -- GNAT |
| 462 |
Name_Locking_Policy : constant Name_Id := N + $; |
| 463 |
Name_No_Component_Reordering : constant Name_Id := N + $; -- GNAT |
| 464 |
Name_No_Heap_Finalization : constant Name_Id := N + $; -- GNAT |
| 465 |
Name_No_Run_Time : constant Name_Id := N + $; -- GNAT |
| 466 |
Name_Interrupts_System_By_Default : constant Name_Id := N + $; -- GNAT |
| 467 |
Name_No_Strict_Aliasing : constant Name_Id := N + $; -- GNAT |
| 468 |
Name_Normalize_Scalars : constant Name_Id := N + $; |
| 469 |
Name_Optimize_Alignment : constant Name_Id := N + $; -- GNAT |
| 470 |
Name_Overflow_Mode : constant Name_Id := N + $; -- GNAT |
| 471 |
Name_Overriding_Renamings : constant Name_Id := N + $; -- GNAT |
| 472 |
Name_Partition_Elaboration_Policy : constant Name_Id := N + $; -- Ada 05 |
| 473 |
Name_Persistent_BSS : constant Name_Id := N + $; -- GNAT |
| 474 |
Name_Prefix_Exception_Messages : constant Name_Id := N + $; -- GNAT |
| 475 |
Name_Priority_Specific_Dispatching : constant Name_Id := N + $; -- Ada 05 |
| 476 |
Name_Profile : constant Name_Id := N + $; -- Ada 05 |
| 477 |
Name_Profile_Warnings : constant Name_Id := N + $; -- GNAT |
| 478 |
Name_Propagate_Exceptions : constant Name_Id := N + $; -- GNAT |
| 479 |
Name_Queuing_Policy : constant Name_Id := N + $; |
| 480 |
Name_Rational : constant Name_Id := N + $; -- GNAT |
| 481 |
Name_Ravenscar : constant Name_Id := N + $; -- GNAT |
| 482 |
Name_Rename_Pragma : constant Name_Id := N + $; -- GNAT |
| 483 |
Name_Restricted_Run_Time : constant Name_Id := N + $; -- GNAT |
| 484 |
Name_Restrictions : constant Name_Id := N + $; |
| 485 |
Name_Restriction_Warnings : constant Name_Id := N + $; -- GNAT |
| 486 |
Name_Reviewable : constant Name_Id := N + $; |
| 487 |
Name_Short_Circuit_And_Or : constant Name_Id := N + $; -- GNAT |
| 488 |
Name_Short_Descriptors : constant Name_Id := N + $; -- GNAT |
| 489 |
Name_Source_File_Name : constant Name_Id := N + $; -- GNAT |
| 490 |
Name_Source_File_Name_Project : constant Name_Id := N + $; -- GNAT |
| 491 |
Name_SPARK_Mode : constant Name_Id := N + $; -- GNAT |
| 492 |
Name_Style_Checks : constant Name_Id := N + $; -- GNAT |
| 493 |
Name_Suppress : constant Name_Id := N + $; |
| 494 |
Name_Suppress_Exception_Locations : constant Name_Id := N + $; -- GNAT |
| 495 |
Name_Task_Dispatching_Policy : constant Name_Id := N + $; |
| 496 |
Name_Unevaluated_Use_Of_Old : constant Name_Id := N + $; -- GNAT |
| 497 |
Name_Unsuppress : constant Name_Id := N + $; -- Ada 05 |
| 498 |
Name_Use_VADS_Size : constant Name_Id := N + $; -- GNAT |
| 499 |
Name_User_Aspect_Definition : constant Name_Id := N + $; -- GNAT |
| 500 |
Name_Validity_Checks : constant Name_Id := N + $; -- GNAT |
| 501 |
Name_Warning_As_Error : constant Name_Id := N + $; -- GNAT |
| 502 |
Name_Warnings : constant Name_Id := N + $; -- GNAT |
| 503 |
Name_Wide_Character_Encoding : constant Name_Id := N + $; -- GNAT |
| 504 |
Last_Configuration_Pragma_Name : constant Name_Id := N + $; |
| 505 |
|
| 506 |
-- Remaining pragma names (non-configuration pragmas) |
| 507 |
|
| 508 |
Name_Abort_Defer : constant Name_Id := N + $; -- GNAT |
| 509 |
Name_Abstract_State : constant Name_Id := N + $; -- GNAT |
| 510 |
Name_All_Calls_Remote : constant Name_Id := N + $; |
| 511 |
Name_Always_Terminates : constant Name_Id := N + $; -- GNAT |
| 512 |
Name_Assert : constant Name_Id := N + $; -- Ada 05 |
| 513 |
Name_Assert_And_Cut : constant Name_Id := N + $; -- GNAT |
| 514 |
Name_Assume : constant Name_Id := N + $; -- GNAT |
| 515 |
Name_Async_Readers : constant Name_Id := N + $; -- GNAT |
| 516 |
Name_Async_Writers : constant Name_Id := N + $; -- GNAT |
| 517 |
Name_Asynchronous : constant Name_Id := N + $; |
| 518 |
Name_Atomic : constant Name_Id := N + $; |
| 519 |
Name_Atomic_Components : constant Name_Id := N + $; |
| 520 |
Name_Attach_Handler : constant Name_Id := N + $; |
| 521 |
Name_Attribute_Definition : constant Name_Id := N + $; -- GNAT |
| 522 |
Name_Check : constant Name_Id := N + $; -- GNAT |
| 523 |
Name_Comment : constant Name_Id := N + $; -- GNAT |
| 524 |
Name_Common_Object : constant Name_Id := N + $; -- GNAT |
| 525 |
Name_Compile_Time_Error : constant Name_Id := N + $; -- GNAT |
| 526 |
Name_Compile_Time_Warning : constant Name_Id := N + $; -- GNAT |
| 527 |
Name_Complete_Representation : constant Name_Id := N + $; -- GNAT |
| 528 |
Name_Complex_Representation : constant Name_Id := N + $; -- GNAT |
| 529 |
Name_Constant_After_Elaboration : constant Name_Id := N + $; -- GNAT |
| 530 |
Name_Contract_Cases : constant Name_Id := N + $; -- GNAT |
| 531 |
Name_Controlled : constant Name_Id := N + $; |
| 532 |
Name_Convention : constant Name_Id := N + $; |
| 533 |
Name_CPP_Class : constant Name_Id := N + $; -- GNAT |
| 534 |
Name_CPP_Constructor : constant Name_Id := N + $; -- GNAT |
| 535 |
Name_CPP_Virtual : constant Name_Id := N + $; -- GNAT |
| 536 |
Name_CPP_Vtable : constant Name_Id := N + $; -- GNAT |
| 537 |
Name_CUDA_Device : constant Name_Id := N + $; -- GNAT |
| 538 |
Name_CUDA_Execute : constant Name_Id := N + $; -- GNAT |
| 539 |
Name_CUDA_Global : constant Name_Id := N + $; -- GNAT |
| 540 |
|
| 541 |
-- Note: CPU is not in this list because its name matches the name of |
| 542 |
-- the corresponding attribute. However, it is included in the definition |
| 543 |
-- of the type Pragma_Id and the functions Get_Pragma_Id and Is_Pragma_Name |
| 544 |
-- correctly recognize and process CPU. CPU is a standard Ada 2012 pragma. |
| 545 |
|
| 546 |
Name_Deadline_Floor : constant Name_Id := N + $; -- GNAT |
| 547 |
Name_Debug : constant Name_Id := N + $; -- GNAT |
| 548 |
Name_Default_Initial_Condition : constant Name_Id := N + $; -- GNAT |
| 549 |
Name_Depends : constant Name_Id := N + $; -- GNAT |
| 550 |
|
| 551 |
-- Note: Dispatching_Domain is not in this list because its name matches |
| 552 |
-- the name of the corresponding attribute. However, it is included in the |
| 553 |
-- definition of the type Pragma_Id, and the functions Get_Pragma_Id and |
| 554 |
-- Is_Pragma_Name correctly recognize and process Dispatching_Domain. |
| 555 |
-- Dispatching_Domain is a standard Ada 2012 pragma. |
| 556 |
|
| 557 |
Name_Effective_Reads : constant Name_Id := N + $; -- GNAT |
| 558 |
Name_Effective_Writes : constant Name_Id := N + $; -- GNAT |
| 559 |
Name_Elaborate : constant Name_Id := N + $; -- Ada 83 |
| 560 |
Name_Elaborate_All : constant Name_Id := N + $; |
| 561 |
Name_Elaborate_Body : constant Name_Id := N + $; |
| 562 |
Name_Exceptional_Cases : constant Name_Id := N + $; -- GNAT |
| 563 |
Name_Exit_Cases : constant Name_Id := N + $; -- GNAT |
| 564 |
Name_Export : constant Name_Id := N + $; |
| 565 |
Name_Export_Function : constant Name_Id := N + $; -- GNAT |
| 566 |
Name_Export_Object : constant Name_Id := N + $; -- GNAT |
| 567 |
Name_Export_Procedure : constant Name_Id := N + $; -- GNAT |
| 568 |
Name_Export_Valued_Procedure : constant Name_Id := N + $; -- GNAT |
| 569 |
Name_Extended_Access : constant Name_Id := N + $; -- GNAT |
| 570 |
Name_Extensions_Visible : constant Name_Id := N + $; -- GNAT |
| 571 |
Name_External : constant Name_Id := N + $; -- GNAT |
| 572 |
Name_Finalize_Storage_Only : constant Name_Id := N + $; -- GNAT |
| 573 |
Name_First_Controlling_Parameter : constant Name_Id := N + $; |
| 574 |
Name_Ghost : constant Name_Id := N + $; -- GNAT |
| 575 |
Name_Global : constant Name_Id := N + $; -- GNAT |
| 576 |
Name_Ident : constant Name_Id := N + $; -- GNAT |
| 577 |
Name_Implementation_Defined : constant Name_Id := N + $; -- GNAT |
| 578 |
Name_Implemented : constant Name_Id := N + $; -- Ada 12 |
| 579 |
Name_Import : constant Name_Id := N + $; |
| 580 |
Name_Import_Function : constant Name_Id := N + $; -- GNAT |
| 581 |
Name_Import_Object : constant Name_Id := N + $; -- GNAT |
| 582 |
Name_Import_Procedure : constant Name_Id := N + $; -- GNAT |
| 583 |
Name_Import_Valued_Procedure : constant Name_Id := N + $; -- GNAT |
| 584 |
Name_Independent : constant Name_Id := N + $; -- Ada 12 |
| 585 |
Name_Independent_Components : constant Name_Id := N + $; -- Ada 12 |
| 586 |
Name_Initial_Condition : constant Name_Id := N + $; -- GNAT |
| 587 |
Name_Initializes : constant Name_Id := N + $; -- GNAT |
| 588 |
Name_Inline : constant Name_Id := N + $; |
| 589 |
Name_Inline_Always : constant Name_Id := N + $; -- GNAT |
| 590 |
Name_Inline_Generic : constant Name_Id := N + $; -- GNAT |
| 591 |
Name_Inspection_Point : constant Name_Id := N + $; |
| 592 |
|
| 593 |
-- Note: Interface is not in this list because its name matches an Ada 05 |
| 594 |
-- keyword. However it is included in the definition of the type Pragma_Id, |
| 595 |
-- and the functions Get_Pragma_Id and Is_Pragma_Name correctly recognize |
| 596 |
-- and process Name_Interface. |
| 597 |
|
| 598 |
Name_Interface_Name : constant Name_Id := N + $; -- GNAT |
| 599 |
Name_Interrupt_Handler : constant Name_Id := N + $; |
| 600 |
|
| 601 |
-- Note: Interrupt_Priority is not in this list because its name matches |
| 602 |
-- the name of the corresponding attribute. However, it is included in the |
| 603 |
-- definition of the type Pragma_Id, and the functions Get_Pragma_Id and |
| 604 |
-- Is_Pragma_Name correctly recognize and process Interrupt_Priority. |
| 605 |
|
| 606 |
Name_Invariant : constant Name_Id := N + $; -- GNAT |
| 607 |
Name_Keep_Names : constant Name_Id := N + $; -- GNAT |
| 608 |
Name_Link_With : constant Name_Id := N + $; -- GNAT |
| 609 |
Name_Linker_Alias : constant Name_Id := N + $; -- GNAT |
| 610 |
Name_Linker_Constructor : constant Name_Id := N + $; -- GNAT |
| 611 |
Name_Linker_Destructor : constant Name_Id := N + $; -- GNAT |
| 612 |
Name_Linker_Options : constant Name_Id := N + $; |
| 613 |
Name_Linker_Section : constant Name_Id := N + $; -- GNAT |
| 614 |
Name_List : constant Name_Id := N + $; |
| 615 |
Name_Lock_Free : constant Name_Id := N + $; -- GNAT |
| 616 |
Name_Loop_Invariant : constant Name_Id := N + $; -- GNAT |
| 617 |
Name_Loop_Optimize : constant Name_Id := N + $; -- GNAT |
| 618 |
Name_Loop_Variant : constant Name_Id := N + $; -- GNAT |
| 619 |
Name_Machine_Attribute : constant Name_Id := N + $; -- GNAT |
| 620 |
Name_Main : constant Name_Id := N + $; -- GNAT |
| 621 |
Name_Main_Storage : constant Name_Id := N + $; -- GNAT |
| 622 |
Name_Max_Entry_Queue_Length : constant Name_Id := N + $; -- Ada 12 |
| 623 |
Name_Max_Queue_Length : constant Name_Id := N + $; -- GNAT |
| 624 |
Name_Memory_Size : constant Name_Id := N + $; -- Ada 83 |
| 625 |
Name_No_Body : constant Name_Id := N + $; -- GNAT |
| 626 |
Name_No_Caching : constant Name_Id := N + $; -- GNAT |
| 627 |
Name_No_Elaboration_Code_All : constant Name_Id := N + $; -- GNAT |
| 628 |
Name_No_Inline : constant Name_Id := N + $; -- GNAT |
| 629 |
Name_No_Raise : constant Name_Id := N + $; -- GNAT |
| 630 |
Name_No_Return : constant Name_Id := N + $; -- Ada 05 |
| 631 |
Name_No_Tagged_Streams : constant Name_Id := N + $; -- GNAT |
| 632 |
Name_Obsolescent : constant Name_Id := N + $; -- GNAT |
| 633 |
Name_Optimize : constant Name_Id := N + $; |
| 634 |
Name_Ordered : constant Name_Id := N + $; -- GNAT |
| 635 |
Name_Pack : constant Name_Id := N + $; |
| 636 |
Name_Page : constant Name_Id := N + $; |
| 637 |
Name_Part_Of : constant Name_Id := N + $; -- GNAT |
| 638 |
Name_Passive : constant Name_Id := N + $; -- GNAT |
| 639 |
Name_Post : constant Name_Id := N + $; -- GNAT |
| 640 |
Name_Postcondition : constant Name_Id := N + $; -- GNAT |
| 641 |
Name_Post_Class : constant Name_Id := N + $; -- GNAT |
| 642 |
Name_Pre : constant Name_Id := N + $; -- GNAT |
| 643 |
Name_Precondition : constant Name_Id := N + $; -- GNAT |
| 644 |
Name_Predicate : constant Name_Id := N + $; -- GNAT |
| 645 |
Name_Predicate_Failure : constant Name_Id := N + $; -- Ada 12 |
| 646 |
|
| 647 |
-- Note: Preelaborable_Initialization is not in this list because its name |
| 648 |
-- matches the name of the corresponding attribute. However, it is included |
| 649 |
-- in the definition of the type Pragma_Id, and the functions Get_Pragma_Id |
| 650 |
-- and Is_Pragma_Name correctly recognize and process that pragma name. |
| 651 |
-- Preelaborable_Initialization is a standard Ada 2005 pragma. |
| 652 |
|
| 653 |
Name_Preelaborate : constant Name_Id := N + $; |
| 654 |
Name_Pre_Class : constant Name_Id := N + $; -- GNAT |
| 655 |
|
| 656 |
-- Note: Priority is not in this list because its name matches the name of |
| 657 |
-- the corresponding attribute. However, it is included in the definition |
| 658 |
-- of the type Pragma_Id and the functions Get_Pragma_Id and Is_Pragma_Name |
| 659 |
-- correctly recognize and process Priority. Priority is a standard Ada 95 |
| 660 |
-- pragma. |
| 661 |
|
| 662 |
Name_Provide_Shift_Operators : constant Name_Id := N + $; -- GNAT |
| 663 |
Name_Psect_Object : constant Name_Id := N + $; -- GNAT |
| 664 |
Name_Pure : constant Name_Id := N + $; |
| 665 |
Name_Pure_Function : constant Name_Id := N + $; -- GNAT |
| 666 |
Name_Refined_Depends : constant Name_Id := N + $; -- GNAT |
| 667 |
Name_Refined_Global : constant Name_Id := N + $; -- GNAT |
| 668 |
Name_Refined_Post : constant Name_Id := N + $; -- GNAT |
| 669 |
Name_Refined_State : constant Name_Id := N + $; -- GNAT |
| 670 |
Name_Relative_Deadline : constant Name_Id := N + $; -- Ada 05 |
| 671 |
Name_Remote_Access_Type : constant Name_Id := N + $; -- GNAT |
| 672 |
Name_Remote_Call_Interface : constant Name_Id := N + $; |
| 673 |
Name_Remote_Types : constant Name_Id := N + $; |
| 674 |
|
| 675 |
-- Note: Secondary_Stack_Size is not in this list because its name matches |
| 676 |
-- the name of the corresponding attribute. However, it is included in the |
| 677 |
-- definition of the type Pragma_Id, and the functions Get_Pragma_Id and |
| 678 |
-- Is_Pragma_Name correctly recognize and process Secondary_Stack_Size. |
| 679 |
|
| 680 |
Name_Share_Generic : constant Name_Id := N + $; -- GNAT |
| 681 |
Name_Shared : constant Name_Id := N + $; -- Ada 83 |
| 682 |
Name_Shared_Passive : constant Name_Id := N + $; |
| 683 |
Name_Side_Effects : constant Name_Id := N + $; -- GNAT |
| 684 |
Name_Simple_Storage_Pool_Type : constant Name_Id := N + $; -- GNAT |
| 685 |
Name_Simulate_Internal_Error : constant Name_Id := N + $; -- GNAT |
| 686 |
Name_Source_Reference : constant Name_Id := N + $; -- GNAT |
| 687 |
Name_Static_Elaboration_Desired : constant Name_Id := N + $; -- GNAT |
| 688 |
|
| 689 |
-- Note: Storage_Size is not in this list because its name matches the name |
| 690 |
-- of the corresponding attribute. However, it is included in the |
| 691 |
-- definition of the type Pragma_Id, and the functions Get_Pragma_Id and |
| 692 |
-- Is_Pragma_Name correctly recognize and process Name_Storage_Size. |
| 693 |
|
| 694 |
-- Note: Storage_Unit is also omitted from the list because of a clash with |
| 695 |
-- an attribute name, and is treated similarly. |
| 696 |
|
| 697 |
Name_Stream_Convert : constant Name_Id := N + $; -- GNAT |
| 698 |
Name_Subprogram_Variant : constant Name_Id := N + $; -- GNAT |
| 699 |
Name_Subtitle : constant Name_Id := N + $; -- GNAT |
| 700 |
Name_Suppress_All : constant Name_Id := N + $; -- GNAT |
| 701 |
Name_Suppress_Debug_Info : constant Name_Id := N + $; -- GNAT |
| 702 |
Name_Suppress_Initialization : constant Name_Id := N + $; -- GNAT |
| 703 |
Name_System_Name : constant Name_Id := N + $; -- Ada 83 |
| 704 |
Name_Task_Info : constant Name_Id := N + $; -- GNAT |
| 705 |
Name_Task_Name : constant Name_Id := N + $; -- GNAT |
| 706 |
Name_Task_Storage : constant Name_Id := N + $; -- GNAT |
| 707 |
Name_Test_Case : constant Name_Id := N + $; -- GNAT |
| 708 |
Name_Thread_Local_Storage : constant Name_Id := N + $; -- GNAT |
| 709 |
Name_Time_Slice : constant Name_Id := N + $; -- GNAT |
| 710 |
Name_Title : constant Name_Id := N + $; -- GNAT |
| 711 |
Name_Type_Invariant : constant Name_Id := N + $; -- GNAT |
| 712 |
Name_Type_Invariant_Class : constant Name_Id := N + $; -- GNAT |
| 713 |
Name_Unchecked_Union : constant Name_Id := N + $; -- Ada 05 |
| 714 |
Name_Unimplemented_Unit : constant Name_Id := N + $; -- GNAT |
| 715 |
Name_Universal_Aliasing : constant Name_Id := N + $; -- GNAT |
| 716 |
Name_Unmodified : constant Name_Id := N + $; -- GNAT |
| 717 |
Name_Unreferenced : constant Name_Id := N + $; -- GNAT |
| 718 |
Name_Unreferenced_Objects : constant Name_Id := N + $; -- GNAT |
| 719 |
Name_Unreserve_All_Interrupts : constant Name_Id := N + $; -- GNAT |
| 720 |
Name_Unused : constant Name_Id := N + $; -- GNAT |
| 721 |
Name_Volatile : constant Name_Id := N + $; |
| 722 |
Name_Volatile_Components : constant Name_Id := N + $; |
| 723 |
Name_Volatile_Full_Access : constant Name_Id := N + $; -- GNAT |
| 724 |
Name_Volatile_Function : constant Name_Id := N + $; -- GNAT |
| 725 |
Name_Weak_External : constant Name_Id := N + $; -- GNAT |
| 726 |
Last_Pragma_Name : constant Name_Id := N + $; |
| 727 |
|
| 728 |
-- Language convention names for pragma Convention/Export/Import/Interface |
| 729 |
-- Note that Name_C is not included in this list, since it was already |
| 730 |
-- declared earlier in the context of one-character identifier names (where |
| 731 |
-- the order is critical to the fast look up process). |
| 732 |
|
| 733 |
-- Note: there are no convention names corresponding to the conventions |
| 734 |
-- Entry and Protected, this is because these conventions cannot be |
| 735 |
-- specified by a pragma. |
| 736 |
|
| 737 |
First_Convention_Name : constant Name_Id := N + $; |
| 738 |
Name_Ada : constant Name_Id := N + $; |
| 739 |
Name_Ada_Pass_By_Copy : constant Name_Id := N + $; |
| 740 |
Name_Ada_Pass_By_Reference : constant Name_Id := N + $; |
| 741 |
Name_Assembler : constant Name_Id := N + $; |
| 742 |
Name_C_Variadic_0 : constant Name_Id := N + $; |
| 743 |
Name_C_Variadic_1 : constant Name_Id := N + $; |
| 744 |
Name_C_Variadic_2 : constant Name_Id := N + $; |
| 745 |
Name_C_Variadic_3 : constant Name_Id := N + $; |
| 746 |
Name_C_Variadic_4 : constant Name_Id := N + $; |
| 747 |
Name_C_Variadic_5 : constant Name_Id := N + $; |
| 748 |
Name_C_Variadic_6 : constant Name_Id := N + $; |
| 749 |
Name_C_Variadic_7 : constant Name_Id := N + $; |
| 750 |
Name_C_Variadic_8 : constant Name_Id := N + $; |
| 751 |
Name_C_Variadic_9 : constant Name_Id := N + $; |
| 752 |
Name_C_Variadic_10 : constant Name_Id := N + $; |
| 753 |
Name_C_Variadic_11 : constant Name_Id := N + $; |
| 754 |
Name_C_Variadic_12 : constant Name_Id := N + $; |
| 755 |
Name_C_Variadic_13 : constant Name_Id := N + $; |
| 756 |
Name_C_Variadic_14 : constant Name_Id := N + $; |
| 757 |
Name_C_Variadic_15 : constant Name_Id := N + $; |
| 758 |
Name_C_Variadic_16 : constant Name_Id := N + $; |
| 759 |
Name_COBOL : constant Name_Id := N + $; |
| 760 |
Name_CPP : constant Name_Id := N + $; |
| 761 |
Name_Fortran : constant Name_Id := N + $; |
| 762 |
Name_Intrinsic : constant Name_Id := N + $; |
| 763 |
Name_Stdcall : constant Name_Id := N + $; |
| 764 |
Name_Stubbed : constant Name_Id := N + $; |
| 765 |
Last_Convention_Name : constant Name_Id := N + $; |
| 766 |
|
| 767 |
subtype Name_C_Variadic is Name_Id |
| 768 |
range Name_C_Variadic_0 .. Name_C_Variadic_16; |
| 769 |
|
| 770 |
-- The following names are preset as synonyms for Assembler |
| 771 |
|
| 772 |
Name_Asm : constant Name_Id := N + $; |
| 773 |
Name_Assembly : constant Name_Id := N + $; |
| 774 |
|
| 775 |
-- The following names are preset as synonyms for C |
| 776 |
|
| 777 |
Name_Default : constant Name_Id := N + $; |
| 778 |
-- Name_External (previously defined as pragma) |
| 779 |
|
| 780 |
-- The following names are preset as synonyms for CPP |
| 781 |
|
| 782 |
Name_C_Plus_Plus : constant Name_Id := N + $; |
| 783 |
|
| 784 |
-- The following names are present as synonyms for Stdcall |
| 785 |
|
| 786 |
Name_DLL : constant Name_Id := N + $; |
| 787 |
Name_Win32 : constant Name_Id := N + $; |
| 788 |
|
| 789 |
-- Other special names used in processing attributes, aspects, and pragmas |
| 790 |
|
| 791 |
Name_Address_Type : constant Name_Id := N + $; |
| 792 |
Name_Aggregate : constant Name_Id := N + $; |
| 793 |
Name_All_Extensions : constant Name_Id := N + $; |
| 794 |
Name_Allow : constant Name_Id := N + $; |
| 795 |
Name_Amount : constant Name_Id := N + $; |
| 796 |
Name_As_Is : constant Name_Id := N + $; |
| 797 |
Name_Assertion : constant Name_Id := N + $; |
| 798 |
Name_Assertions : constant Name_Id := N + $; |
| 799 |
Name_Attribute_Name : constant Name_Id := N + $; |
| 800 |
Name_Auto : constant Name_Id := N + $; |
| 801 |
Name_Body_File_Name : constant Name_Id := N + $; |
| 802 |
Name_Boolean_Entry_Barriers : constant Name_Id := N + $; |
| 803 |
Name_By_Any : constant Name_Id := N + $; |
| 804 |
Name_By_Entry : constant Name_Id := N + $; |
| 805 |
Name_By_Protected_Procedure : constant Name_Id := N + $; |
| 806 |
Name_Casing : constant Name_Id := N + $; |
| 807 |
Name_Code : constant Name_Id := N + $; |
| 808 |
Name_Component : constant Name_Id := N + $; |
| 809 |
Name_Component_Size_4 : constant Name_Id := N + $; |
| 810 |
Name_Copy : constant Name_Id := N + $; |
| 811 |
Name_Copy_From : constant Name_Id := N + $; |
| 812 |
Name_Copy_To : constant Name_Id := N + $; |
| 813 |
Name_Decreases : constant Name_Id := N + $; |
| 814 |
Name_Disable : constant Name_Id := N + $; |
| 815 |
Name_Dot_Replacement : constant Name_Id := N + $; |
| 816 |
Name_Dynamic : constant Name_Id := N + $; |
| 817 |
Name_Eliminated : constant Name_Id := N + $; |
| 818 |
Name_Ensures : constant Name_Id := N + $; |
| 819 |
Name_Entity : constant Name_Id := N + $; |
| 820 |
Name_Exception_Raised : constant Name_Id := N + $; |
| 821 |
Name_External_Name : constant Name_Id := N + $; |
| 822 |
Name_Form : constant Name_Id := N + $; |
| 823 |
Name_Gcc : constant Name_Id := N + $; |
| 824 |
Name_General : constant Name_Id := N + $; |
| 825 |
Name_Gnat : constant Name_Id := N + $; |
| 826 |
Name_Gnat_Extended_Ravenscar : constant Name_Id := N + $; |
| 827 |
Name_Gnat_Ravenscar_EDF : constant Name_Id := N + $; |
| 828 |
Name_Gnatprove : constant Name_Id := N + $; |
| 829 |
Name_GPL : constant Name_Id := N + $; |
| 830 |
Name_High_Order_First : constant Name_Id := N + $; |
| 831 |
Name_Ignore : constant Name_Id := N + $; |
| 832 |
Name_In_Out : constant Name_Id := N + $; |
| 833 |
Name_Increases : constant Name_Id := N + $; |
| 834 |
Name_Info : constant Name_Id := N + $; |
| 835 |
Name_Internal : constant Name_Id := N + $; |
| 836 |
Name_Ivdep : constant Name_Id := N + $; |
| 837 |
Name_Jorvik : constant Name_Id := N + $; |
| 838 |
Name_Link_Name : constant Name_Id := N + $; |
| 839 |
Name_Low_Order_First : constant Name_Id := N + $; |
| 840 |
Name_Lowercase : constant Name_Id := N + $; |
| 841 |
Name_Max_Entry_Queue_Depth : constant Name_Id := N + $; |
| 842 |
Name_Max_Size : constant Name_Id := N + $; |
| 843 |
Name_Mechanism : constant Name_Id := N + $; |
| 844 |
Name_Message : constant Name_Id := N + $; |
| 845 |
Name_Minimized : constant Name_Id := N + $; |
| 846 |
Name_Mixedcase : constant Name_Id := N + $; |
| 847 |
Name_Mode : constant Name_Id := N + $; |
| 848 |
Name_Modified_GPL : constant Name_Id := N + $; |
| 849 |
Name_Name : constant Name_Id := N + $; |
| 850 |
Name_New_Name : constant Name_Id := N + $; |
| 851 |
Name_No : constant Name_Id := N + $; |
| 852 |
Name_No_Dependence : constant Name_Id := N + $; |
| 853 |
Name_No_Dynamic_Attachment : constant Name_Id := N + $; |
| 854 |
Name_No_Dynamic_Interrupts : constant Name_Id := N + $; |
| 855 |
Name_No_Elaboration_Code : constant Name_Id := N + $; |
| 856 |
Name_No_Implementation_Extensions : constant Name_Id := N + $; |
| 857 |
Name_No_Obsolescent_Features : constant Name_Id := N + $; |
| 858 |
Name_No_Requeue : constant Name_Id := N + $; |
| 859 |
Name_No_Requeue_Statements : constant Name_Id := N + $; |
| 860 |
Name_No_Specification_Of_Aspect : constant Name_Id := N + $; |
| 861 |
Name_No_Task_Attributes : constant Name_Id := N + $; |
| 862 |
Name_No_Task_Attributes_Package : constant Name_Id := N + $; |
| 863 |
Name_No_Use_Of_Attribute : constant Name_Id := N + $; |
| 864 |
Name_No_Use_Of_Entity : constant Name_Id := N + $; |
| 865 |
Name_No_Use_Of_Pragma : constant Name_Id := N + $; |
| 866 |
Name_No_Unroll : constant Name_Id := N + $; |
| 867 |
Name_No_Unrecognized_Aspects : constant Name_Id := N + $; |
| 868 |
Name_No_Vector : constant Name_Id := N + $; |
| 869 |
Name_Nominal : constant Name_Id := N + $; |
| 870 |
Name_None : constant Name_Id := N + $; |
| 871 |
Name_Normal_Return : constant Name_Id := N + $; |
| 872 |
Name_Null_Address : constant Name_Id := N + $; |
| 873 |
Name_On : constant Name_Id := N + $; |
| 874 |
Name_Optional : constant Name_Id := N + $; |
| 875 |
Name_Policy : constant Name_Id := N + $; |
| 876 |
Name_Parameter_Types : constant Name_Id := N + $; |
| 877 |
Name_Proof_In : constant Name_Id := N + $; |
| 878 |
Name_Reason : constant Name_Id := N + $; |
| 879 |
Name_Reference : constant Name_Id := N + $; |
| 880 |
Name_Relaxed_Finalization : constant Name_Id := N + $; |
| 881 |
Name_Renamed : constant Name_Id := N + $; |
| 882 |
Name_Requires : constant Name_Id := N + $; |
| 883 |
Name_Restricted : constant Name_Id := N + $; |
| 884 |
Name_Result_Mechanism : constant Name_Id := N + $; |
| 885 |
Name_Result_Type : constant Name_Id := N + $; |
| 886 |
Name_Robustness : constant Name_Id := N + $; |
| 887 |
Name_Runtime : constant Name_Id := N + $; |
| 888 |
Name_SB : constant Name_Id := N + $; |
| 889 |
Name_Section : constant Name_Id := N + $; |
| 890 |
Name_Semaphore : constant Name_Id := N + $; |
| 891 |
Name_Simple_Barriers : constant Name_Id := N + $; |
| 892 |
Name_SPARK : constant Name_Id := N + $; |
| 893 |
Name_SPARK_05 : constant Name_Id := N + $; |
| 894 |
Name_Spec_File_Name : constant Name_Id := N + $; |
| 895 |
Name_State : constant Name_Id := N + $; |
| 896 |
Name_Statement_Assertions : constant Name_Id := N + $; |
| 897 |
Name_Static : constant Name_Id := N + $; |
| 898 |
Name_Stack_Size : constant Name_Id := N + $; |
| 899 |
Name_Strict : constant Name_Id := N + $; |
| 900 |
Name_Structural : constant Name_Id := N + $; |
| 901 |
Name_Subunit_File_Name : constant Name_Id := N + $; |
| 902 |
Name_Suppressible : constant Name_Id := N + $; |
| 903 |
Name_Synchronous : constant Name_Id := N + $; |
| 904 |
Name_Task_Stack_Size_Default : constant Name_Id := N + $; |
| 905 |
Name_Task_Type : constant Name_Id := N + $; |
| 906 |
Name_Time_Slicing_Enabled : constant Name_Id := N + $; |
| 907 |
Name_Top_Guard : constant Name_Id := N + $; |
| 908 |
Name_Unit_Name : constant Name_Id := N + $; |
| 909 |
Name_Unrestricted : constant Name_Id := N + $; |
| 910 |
Name_Unroll : constant Name_Id := N + $; |
| 911 |
Name_Uppercase : constant Name_Id := N + $; |
| 912 |
Name_User : constant Name_Id := N + $; |
| 913 |
Name_Variant : constant Name_Id := N + $; |
| 914 |
Name_Vector : constant Name_Id := N + $; |
| 915 |
Name_Warn : constant Name_Id := N + $; |
| 916 |
Name_Working_Storage : constant Name_Id := N + $; |
| 917 |
|
| 918 |
-- Names of recognized attributes. The entries with the comment "Ada 83" |
| 919 |
-- are attributes that are defined in Ada 83, but not in Ada 95. These |
| 920 |
-- attributes are implemented in all Ada modes in GNAT. |
| 921 |
|
| 922 |
-- The entries marked GNAT are attributes that are defined by GNAT and |
| 923 |
-- implemented in all Ada modes. Full descriptions of these implementation |
| 924 |
-- dependent attributes may be found in the appropriate Sem_Attr section. |
| 925 |
|
| 926 |
First_Attribute_Name : constant Name_Id := N + $; |
| 927 |
Name_Abort_Signal : constant Name_Id := N + $; -- GNAT |
| 928 |
Name_Access : constant Name_Id := N + $; |
| 929 |
Name_Address : constant Name_Id := N + $; |
| 930 |
Name_Address_Size : constant Name_Id := N + $; -- GNAT |
| 931 |
Name_Aft : constant Name_Id := N + $; |
| 932 |
Name_Alignment : constant Name_Id := N + $; |
| 933 |
Name_Asm_Input : constant Name_Id := N + $; -- GNAT |
| 934 |
Name_Asm_Output : constant Name_Id := N + $; -- GNAT |
| 935 |
Name_Atomic_Always_Lock_Free : constant Name_Id := N + $; -- GNAT |
| 936 |
Name_Bit : constant Name_Id := N + $; -- GNAT |
| 937 |
Name_Bit_Order : constant Name_Id := N + $; |
| 938 |
Name_Bit_Position : constant Name_Id := N + $; -- GNAT |
| 939 |
Name_Body_Version : constant Name_Id := N + $; |
| 940 |
Name_Callable : constant Name_Id := N + $; |
| 941 |
Name_Caller : constant Name_Id := N + $; |
| 942 |
Name_Code_Address : constant Name_Id := N + $; -- GNAT |
| 943 |
Name_Compiler_Version : constant Name_Id := N + $; -- GNAT |
| 944 |
Name_Component_Size : constant Name_Id := N + $; |
| 945 |
Name_Compose : constant Name_Id := N + $; |
| 946 |
Name_Constrained : constant Name_Id := N + $; |
| 947 |
Name_Count : constant Name_Id := N + $; |
| 948 |
Name_Default_Bit_Order : constant Name_Id := N + $; -- GNAT |
| 949 |
Name_Default_Scalar_Storage_Order : constant Name_Id := N + $; -- GNAT |
| 950 |
Name_Definite : constant Name_Id := N + $; |
| 951 |
Name_Delta : constant Name_Id := N + $; |
| 952 |
Name_Denorm : constant Name_Id := N + $; |
| 953 |
Name_Deref : constant Name_Id := N + $; -- GNAT |
| 954 |
Name_Descriptor_Size : constant Name_Id := N + $; |
| 955 |
Name_Digits : constant Name_Id := N + $; |
| 956 |
Name_Elaborated : constant Name_Id := N + $; -- GNAT |
| 957 |
Name_Emax : constant Name_Id := N + $; -- Ada 83 |
| 958 |
Name_Enabled : constant Name_Id := N + $; -- GNAT |
| 959 |
Name_Enum_Rep : constant Name_Id := N + $; -- Ada 22 |
| 960 |
Name_Enum_Val : constant Name_Id := N + $; -- Ada 22 |
| 961 |
Name_Epsilon : constant Name_Id := N + $; -- Ada 83 |
| 962 |
Name_Exponent : constant Name_Id := N + $; |
| 963 |
Name_External_Tag : constant Name_Id := N + $; |
| 964 |
Name_Fast_Math : constant Name_Id := N + $; -- GNAT |
| 965 |
Name_Finalization_Size : constant Name_Id := N + $; -- GNAT |
| 966 |
Name_First : constant Name_Id := N + $; |
| 967 |
Name_First_Bit : constant Name_Id := N + $; |
| 968 |
Name_First_Valid : constant Name_Id := N + $; -- Ada 12 |
| 969 |
Name_Fixed_Value : constant Name_Id := N + $; -- GNAT |
| 970 |
Name_Fore : constant Name_Id := N + $; |
| 971 |
Name_Has_Access_Values : constant Name_Id := N + $; -- GNAT |
| 972 |
Name_Has_Discriminants : constant Name_Id := N + $; -- GNAT |
| 973 |
Name_Has_Same_Storage : constant Name_Id := N + $; -- Ada 12 |
| 974 |
Name_Has_Tagged_Values : constant Name_Id := N + $; -- GNAT |
| 975 |
Name_Identity : constant Name_Id := N + $; |
| 976 |
Name_Index : constant Name_Id := N + $; -- Ada 22 |
| 977 |
Name_Initialized : constant Name_Id := N + $; -- GNAT |
| 978 |
Name_Integer_Value : constant Name_Id := N + $; -- GNAT |
| 979 |
Name_Invalid_Value : constant Name_Id := N + $; -- GNAT |
| 980 |
Name_Large : constant Name_Id := N + $; -- Ada 83 |
| 981 |
Name_Last : constant Name_Id := N + $; |
| 982 |
Name_Last_Bit : constant Name_Id := N + $; |
| 983 |
Name_Last_Valid : constant Name_Id := N + $; -- Ada 12 |
| 984 |
Name_Leading_Part : constant Name_Id := N + $; |
| 985 |
Name_Length : constant Name_Id := N + $; |
| 986 |
Name_Library_Level : constant Name_Id := N + $; -- GNAT |
| 987 |
Name_Loop_Entry : constant Name_Id := N + $; -- GNAT |
| 988 |
Name_Machine_Emax : constant Name_Id := N + $; |
| 989 |
Name_Machine_Emin : constant Name_Id := N + $; |
| 990 |
Name_Machine_Mantissa : constant Name_Id := N + $; |
| 991 |
Name_Machine_Overflows : constant Name_Id := N + $; |
| 992 |
Name_Machine_Radix : constant Name_Id := N + $; |
| 993 |
Name_Machine_Rounding : constant Name_Id := N + $; -- Ada 05 |
| 994 |
Name_Machine_Rounds : constant Name_Id := N + $; |
| 995 |
Name_Machine_Size : constant Name_Id := N + $; -- GNAT |
| 996 |
Name_Mantissa : constant Name_Id := N + $; -- Ada 83 |
| 997 |
Name_Max_Alignment_For_Allocation : constant Name_Id := N + $; -- Ada 12 |
| 998 |
Name_Max_Integer_Size : constant Name_Id := N + $; -- GNAT |
| 999 |
Name_Max_Size_In_Storage_Elements : constant Name_Id := N + $; |
| 1000 |
Name_Maximum_Alignment : constant Name_Id := N + $; -- GNAT |
| 1001 |
Name_Mechanism_Code : constant Name_Id := N + $; -- GNAT |
| 1002 |
Name_Mod : constant Name_Id := N + $; -- Ada 05 |
| 1003 |
Name_Model_Emin : constant Name_Id := N + $; |
| 1004 |
Name_Model_Epsilon : constant Name_Id := N + $; |
| 1005 |
Name_Model_Mantissa : constant Name_Id := N + $; |
| 1006 |
Name_Model_Small : constant Name_Id := N + $; |
| 1007 |
Name_Modulus : constant Name_Id := N + $; |
| 1008 |
Name_Null_Parameter : constant Name_Id := N + $; -- GNAT |
| 1009 |
Name_Object_Size : constant Name_Id := N + $; -- GNAT |
| 1010 |
Name_Old : constant Name_Id := N + $; -- Ada 12 |
| 1011 |
Name_Overlaps_Storage : constant Name_Id := N + $; -- GNAT |
| 1012 |
Name_Partition_ID : constant Name_Id := N + $; |
| 1013 |
Name_Passed_By_Reference : constant Name_Id := N + $; -- GNAT |
| 1014 |
Name_Pool_Address : constant Name_Id := N + $; -- GNAT |
| 1015 |
Name_Pos : constant Name_Id := N + $; |
| 1016 |
Name_Position : constant Name_Id := N + $; |
| 1017 |
Name_Preelaborable_Initialization : constant Name_Id := N + $; -- Ada 22 |
| 1018 |
Name_Priority : constant Name_Id := N + $; -- Ada 05 |
| 1019 |
Name_Range : constant Name_Id := N + $; |
| 1020 |
Name_Range_Length : constant Name_Id := N + $; -- GNAT |
| 1021 |
Name_Reduce : constant Name_Id := N + $; -- Ada 22 |
| 1022 |
Name_Ref : constant Name_Id := N + $; -- GNAT |
| 1023 |
Name_Restriction_Set : constant Name_Id := N + $; -- GNAT |
| 1024 |
Name_Result : constant Name_Id := N + $; -- GNAT |
| 1025 |
Name_Round : constant Name_Id := N + $; |
| 1026 |
Name_Safe_Emax : constant Name_Id := N + $; -- Ada 83 |
| 1027 |
Name_Safe_First : constant Name_Id := N + $; |
| 1028 |
Name_Safe_Large : constant Name_Id := N + $; -- Ada 83 |
| 1029 |
Name_Safe_Last : constant Name_Id := N + $; |
| 1030 |
Name_Safe_Small : constant Name_Id := N + $; -- Ada 83 |
| 1031 |
Name_Scalar_Storage_Order : constant Name_Id := N + $; -- GNAT |
| 1032 |
Name_Scale : constant Name_Id := N + $; |
| 1033 |
Name_Scaling : constant Name_Id := N + $; |
| 1034 |
Name_Signed_Zeros : constant Name_Id := N + $; |
| 1035 |
Name_Size : constant Name_Id := N + $; |
| 1036 |
Name_Small : constant Name_Id := N + $; -- Ada 83 |
| 1037 |
Name_Small_Denominator : constant Name_Id := N + $; -- GNAT |
| 1038 |
Name_Small_Numerator : constant Name_Id := N + $; -- GNAT |
| 1039 |
Name_Storage_Size : constant Name_Id := N + $; |
| 1040 |
Name_Storage_Unit : constant Name_Id := N + $; -- GNAT |
| 1041 |
Name_Stream_Size : constant Name_Id := N + $; -- Ada 05 |
| 1042 |
Name_Super : constant Name_Id := N + $; -- GNAT |
| 1043 |
Name_System_Allocator_Alignment : constant Name_Id := N + $; -- GNAT |
| 1044 |
Name_Tag : constant Name_Id := N + $; |
| 1045 |
Name_Target_Name : constant Name_Id := N + $; -- GNAT |
| 1046 |
Name_Terminated : constant Name_Id := N + $; |
| 1047 |
Name_To_Address : constant Name_Id := N + $; -- GNAT |
| 1048 |
Name_Type_Class : constant Name_Id := N + $; -- GNAT |
| 1049 |
Name_Type_Key : constant Name_Id := N + $; -- GNAT |
| 1050 |
Name_Unbiased_Rounding : constant Name_Id := N + $; |
| 1051 |
Name_Unchecked_Access : constant Name_Id := N + $; |
| 1052 |
Name_Unconstrained_Array : constant Name_Id := N + $; -- GNAT |
| 1053 |
Name_Universal_Literal_String : constant Name_Id := N + $; -- GNAT |
| 1054 |
Name_Unrestricted_Access : constant Name_Id := N + $; -- GNAT |
| 1055 |
Name_Update : constant Name_Id := N + $; -- GNAT |
| 1056 |
Name_VADS_Size : constant Name_Id := N + $; -- GNAT |
| 1057 |
Name_Val : constant Name_Id := N + $; |
| 1058 |
Name_Valid : constant Name_Id := N + $; |
| 1059 |
Name_Valid_Scalars : constant Name_Id := N + $; -- GNAT |
| 1060 |
Name_Value_Size : constant Name_Id := N + $; -- GNAT |
| 1061 |
Name_Version : constant Name_Id := N + $; |
| 1062 |
Name_Wchar_T_Size : constant Name_Id := N + $; -- GNAT |
| 1063 |
Name_Wide_Wide_Width : constant Name_Id := N + $; -- Ada 05 |
| 1064 |
Name_Wide_Width : constant Name_Id := N + $; |
| 1065 |
Name_Width : constant Name_Id := N + $; |
| 1066 |
Name_Word_Size : constant Name_Id := N + $; -- GNAT |
| 1067 |
|
| 1068 |
-- Attributes that designate attributes returning renamable functions, |
| 1069 |
-- i.e. functions that return other than a universal value and that |
| 1070 |
-- have non-universal arguments. |
| 1071 |
|
| 1072 |
First_Renamable_Function_Attribute : constant Name_Id := N + $; |
| 1073 |
Name_Adjacent : constant Name_Id := N + $; |
| 1074 |
Name_Ceiling : constant Name_Id := N + $; |
| 1075 |
Name_Copy_Sign : constant Name_Id := N + $; |
| 1076 |
Name_Floor : constant Name_Id := N + $; |
| 1077 |
Name_Fraction : constant Name_Id := N + $; |
| 1078 |
Name_From_Any : constant Name_Id := N + $; -- GNAT |
| 1079 |
Name_Image : constant Name_Id := N + $; |
| 1080 |
Name_Img : constant Name_Id := N + $; -- GNAT |
| 1081 |
Name_Input : constant Name_Id := N + $; |
| 1082 |
Name_Machine : constant Name_Id := N + $; |
| 1083 |
Name_Max : constant Name_Id := N + $; |
| 1084 |
Name_Min : constant Name_Id := N + $; |
| 1085 |
Name_Model : constant Name_Id := N + $; |
| 1086 |
Name_Pred : constant Name_Id := N + $; |
| 1087 |
Name_Remainder : constant Name_Id := N + $; |
| 1088 |
Name_Rounding : constant Name_Id := N + $; |
| 1089 |
Name_Succ : constant Name_Id := N + $; |
| 1090 |
Name_To_Any : constant Name_Id := N + $; -- GNAT |
| 1091 |
Name_Truncation : constant Name_Id := N + $; |
| 1092 |
Name_TypeCode : constant Name_Id := N + $; -- GNAT |
| 1093 |
Name_Valid_Value : constant Name_Id := N + $; -- GNAT |
| 1094 |
Name_Value : constant Name_Id := N + $; |
| 1095 |
Name_Wide_Image : constant Name_Id := N + $; |
| 1096 |
Name_Wide_Wide_Image : constant Name_Id := N + $; |
| 1097 |
Name_Wide_Value : constant Name_Id := N + $; |
| 1098 |
Name_Wide_Wide_Value : constant Name_Id := N + $; |
| 1099 |
Last_Renamable_Function_Attribute : constant Name_Id := N + $; |
| 1100 |
|
| 1101 |
-- Attributes that designate procedures |
| 1102 |
|
| 1103 |
First_Procedure_Attribute : constant Name_Id := N + $; |
| 1104 |
Name_Output : constant Name_Id := N + $; |
| 1105 |
Name_Put_Image : constant Name_Id := N + $; |
| 1106 |
Name_Read : constant Name_Id := N + $; |
| 1107 |
Name_Write : constant Name_Id := N + $; |
| 1108 |
Last_Procedure_Attribute : constant Name_Id := N + $; |
| 1109 |
|
| 1110 |
-- Remaining attributes are ones that return entities |
| 1111 |
|
| 1112 |
-- Note that Elab_Subp_Body is not considered to be a valid attribute name |
| 1113 |
-- unless we are operating in CodePeer mode. |
| 1114 |
|
| 1115 |
First_Entity_Attribute_Name : constant Name_Id := N + $; |
| 1116 |
Name_Elab_Body : constant Name_Id := N + $; -- GNAT |
| 1117 |
Name_Elab_Spec : constant Name_Id := N + $; -- GNAT |
| 1118 |
Name_Elab_Subp_Body : constant Name_Id := N + $; -- GNAT |
| 1119 |
Name_Simple_Storage_Pool : constant Name_Id := N + $; -- GNAT |
| 1120 |
Name_Storage_Pool : constant Name_Id := N + $; |
| 1121 |
|
| 1122 |
-- These attributes are the ones that return types |
| 1123 |
|
| 1124 |
First_Type_Attribute_Name : constant Name_Id := N + $; |
| 1125 |
Name_Base : constant Name_Id := N + $; |
| 1126 |
Name_Class : constant Name_Id := N + $; |
| 1127 |
Name_Stub_Type : constant Name_Id := N + $; -- GNAT |
| 1128 |
Last_Type_Attribute_Name : constant Name_Id := N + $; |
| 1129 |
Last_Entity_Attribute_Name : constant Name_Id := N + $; |
| 1130 |
Last_Attribute_Name : constant Name_Id := N + $; |
| 1131 |
|
| 1132 |
-- Names of internal attributes. They are not real attributes but special |
| 1133 |
-- names used internally by GNAT in order to deal with delayed aspects |
| 1134 |
-- (Aspect_CPU, Aspect_Dispatching_Domain, Aspect_Interrupt_Priority, |
| 1135 |
-- Aspect_Secondary_Stack_Size) that don't have corresponding pragmas or |
| 1136 |
-- user-referenceable attributes. |
| 1137 |
|
| 1138 |
-- It is convenient to have these internal attributes available for |
| 1139 |
-- processing the aspects, since the normal approach is to convert an |
| 1140 |
-- aspect into its corresponding pragma or attribute specification. |
| 1141 |
|
| 1142 |
-- These attributes do have Attribute_Id values so that case statements |
| 1143 |
-- on Attribute_Id include these cases, but they are NOT included in the |
| 1144 |
-- Attribute_Name subtype defined above, which is typically used in the |
| 1145 |
-- front end for checking syntax of submitted programs (where the use of |
| 1146 |
-- internal attributes is not permitted). |
| 1147 |
|
| 1148 |
First_Internal_Attribute_Name : constant Name_Id := N + $; |
| 1149 |
Name_Constant_Indexing : constant Name_Id := N + $; -- GNAT |
| 1150 |
Name_CPU : constant Name_Id := N + $; |
| 1151 |
Name_Default_Iterator : constant Name_Id := N + $; -- GNAT |
| 1152 |
Name_Dispatching_Domain : constant Name_Id := N + $; |
| 1153 |
Name_Implicit_Dereference : constant Name_Id := N + $; -- GNAT |
| 1154 |
Name_Interrupt_Priority : constant Name_Id := N + $; |
| 1155 |
Name_Iterable : constant Name_Id := N + $; -- GNAT |
| 1156 |
Name_Iterator_Element : constant Name_Id := N + $; -- GNAT |
| 1157 |
Name_Secondary_Stack_Size : constant Name_Id := N + $; -- GNAT |
| 1158 |
Name_Variable_Indexing : constant Name_Id := N + $; -- GNAT |
| 1159 |
Last_Internal_Attribute_Name : constant Name_Id := N + $; |
| 1160 |
|
| 1161 |
-- Names of recognized locking policy identifiers |
| 1162 |
|
| 1163 |
First_Locking_Policy_Name : constant Name_Id := N + $; |
| 1164 |
Name_Ceiling_Locking : constant Name_Id := N + $; |
| 1165 |
Name_Inheritance_Locking : constant Name_Id := N + $; |
| 1166 |
Name_Concurrent_Readers_Locking : constant Name_Id := N + $; -- GNAT |
| 1167 |
Last_Locking_Policy_Name : constant Name_Id := N + $; |
| 1168 |
|
| 1169 |
-- Names of recognized queuing policy identifiers |
| 1170 |
|
| 1171 |
-- Note: policies are identified by the first character of the name (e.g. F |
| 1172 |
-- for FIFO_Queuing). If new policy names are added, the first character |
| 1173 |
-- must be distinct. |
| 1174 |
|
| 1175 |
First_Queuing_Policy_Name : constant Name_Id := N + $; |
| 1176 |
Name_FIFO_Queuing : constant Name_Id := N + $; |
| 1177 |
Name_Priority_Queuing : constant Name_Id := N + $; |
| 1178 |
Last_Queuing_Policy_Name : constant Name_Id := N + $; |
| 1179 |
|
| 1180 |
-- Names of recognized task dispatching policy identifiers |
| 1181 |
|
| 1182 |
-- Note: policies are identified by the first character of the name (e.g. F |
| 1183 |
-- for FIFO_Within_Priorities). If new policy names are added, the first |
| 1184 |
-- character must be distinct. |
| 1185 |
|
| 1186 |
First_Task_Dispatching_Policy_Name : constant Name_Id := N + $; |
| 1187 |
Name_EDF_Across_Priorities : constant Name_Id := N + $; |
| 1188 |
Name_FIFO_Within_Priorities : constant Name_Id := N + $; |
| 1189 |
Name_Non_Preemptive_FIFO_Within_Priorities : constant Name_Id := N + $; |
| 1190 |
Name_Round_Robin_Within_Priorities : constant Name_Id := N + $; |
| 1191 |
Last_Task_Dispatching_Policy_Name : constant Name_Id := N + $; |
| 1192 |
|
| 1193 |
-- Names of recognized partition elaboration policy identifiers |
| 1194 |
|
| 1195 |
-- Note: policies are identified by the first character of the name (e.g. S |
| 1196 |
-- for Sequential). If new policy names are added, the first character must |
| 1197 |
-- be distinct. |
| 1198 |
|
| 1199 |
First_Partition_Elaboration_Policy_Name : constant Name_Id := N + $; |
| 1200 |
Name_Concurrent : constant Name_Id := N + $; |
| 1201 |
Name_Sequential : constant Name_Id := N + $; |
| 1202 |
Last_Partition_Elaboration_Policy_Name : constant Name_Id := N + $; |
| 1203 |
|
| 1204 |
-- Names of recognized scalar families for pragma Initialize_Scalars |
| 1205 |
|
| 1206 |
Name_Short_Float : constant Name_Id := N + $; -- GNAT |
| 1207 |
Name_Float : constant Name_Id := N + $; -- GNAT |
| 1208 |
Name_Long_Float : constant Name_Id := N + $; -- GNAT |
| 1209 |
Name_Long_Long_Float : constant Name_Id := N + $; -- GNAT |
| 1210 |
Name_Signed_8 : constant Name_Id := N + $; -- GNAT |
| 1211 |
Name_Signed_16 : constant Name_Id := N + $; -- GNAT |
| 1212 |
Name_Signed_32 : constant Name_Id := N + $; -- GNAT |
| 1213 |
Name_Signed_64 : constant Name_Id := N + $; -- GNAT |
| 1214 |
Name_Signed_128 : constant Name_Id := N + $; -- GNAT |
| 1215 |
Name_Unsigned_8 : constant Name_Id := N + $; -- GNAT |
| 1216 |
Name_Unsigned_16 : constant Name_Id := N + $; -- GNAT |
| 1217 |
Name_Unsigned_32 : constant Name_Id := N + $; -- GNAT |
| 1218 |
Name_Unsigned_64 : constant Name_Id := N + $; -- GNAT |
| 1219 |
Name_Unsigned_128 : constant Name_Id := N + $; -- GNAT |
| 1220 |
|
| 1221 |
subtype Scalar_Id is Name_Id |
| 1222 |
range Name_Short_Float .. Name_Unsigned_128; |
| 1223 |
|
| 1224 |
subtype Float_Scalar_Id is Name_Id |
| 1225 |
range Name_Short_Float .. Name_Long_Long_Float; |
| 1226 |
|
| 1227 |
subtype Integer_Scalar_Id is Name_Id |
| 1228 |
range Name_Signed_8 .. Name_Unsigned_128; |
| 1229 |
|
| 1230 |
-- Names of recognized checks for pragma Suppress |
| 1231 |
|
| 1232 |
-- Note: the name _Atomic_Synchronization is used only internally |
| 1233 |
-- as a result of using pragmas Disable/Enable_Atomic_Synchronization. |
| 1234 |
|
| 1235 |
First_Check_Name : constant Name_Id := N + $; |
| 1236 |
Name_Access_Check : constant Name_Id := N + $; |
| 1237 |
Name_Accessibility_Check : constant Name_Id := N + $; |
| 1238 |
Name_Alignment_Check : constant Name_Id := N + $; -- GNAT |
| 1239 |
Name_Allocation_Check : constant Name_Id := N + $; |
| 1240 |
Name_uAtomic_Synchronization : constant Name_Id := N + $; -- GNAT |
| 1241 |
Name_Characters_Assertion_Check : constant Name_Id := N + $; |
| 1242 |
Name_Containers_Assertion_Check : constant Name_Id := N + $; |
| 1243 |
Name_Discriminant_Check : constant Name_Id := N + $; |
| 1244 |
Name_Division_Check : constant Name_Id := N + $; |
| 1245 |
Name_Duplicated_Tag_Check : constant Name_Id := N + $; -- GNAT |
| 1246 |
Name_Elaboration_Check : constant Name_Id := N + $; |
| 1247 |
Name_Index_Check : constant Name_Id := N + $; |
| 1248 |
Name_Interfaces_Assertion_Check : constant Name_Id := N + $; |
| 1249 |
Name_IO_Assertion_Check : constant Name_Id := N + $; |
| 1250 |
Name_Length_Check : constant Name_Id := N + $; |
| 1251 |
Name_Numerics_Assertion_Check : constant Name_Id := N + $; |
| 1252 |
Name_Overflow_Check : constant Name_Id := N + $; |
| 1253 |
Name_Predicate_Check : constant Name_Id := N + $; -- GNAT |
| 1254 |
Name_Program_Error_Check : constant Name_Id := N + $; |
| 1255 |
Name_Range_Check : constant Name_Id := N + $; |
| 1256 |
Name_Storage_Check : constant Name_Id := N + $; |
| 1257 |
Name_Strings_Assertion_Check : constant Name_Id := N + $; |
| 1258 |
Name_System_Assertion_Check : constant Name_Id := N + $; |
| 1259 |
Name_Tag_Check : constant Name_Id := N + $; |
| 1260 |
Name_Validity_Check : constant Name_Id := N + $; -- GNAT |
| 1261 |
Name_Container_Checks : constant Name_Id := N + $; -- GNAT |
| 1262 |
Name_Tampering_Check : constant Name_Id := N + $; -- GNAT |
| 1263 |
Name_Tasking_Check : constant Name_Id := N + $; |
| 1264 |
Name_Raise_Check : constant Name_Id := N + $; -- GNAT |
| 1265 |
Name_All_Checks : constant Name_Id := N + $; |
| 1266 |
Last_Check_Name : constant Name_Id := N + $; |
| 1267 |
|
| 1268 |
-- Ada 83 reserved words, excluding those already declared in the attribute |
| 1269 |
-- list (Access, Delta, Digits, Mod, Range). |
| 1270 |
|
| 1271 |
Name_Abort : constant Name_Id := N + $; |
| 1272 |
Name_Abs : constant Name_Id := N + $; |
| 1273 |
Name_Accept : constant Name_Id := N + $; |
| 1274 |
Name_And : constant Name_Id := N + $; |
| 1275 |
Name_All : constant Name_Id := N + $; |
| 1276 |
Name_Array : constant Name_Id := N + $; |
| 1277 |
Name_At : constant Name_Id := N + $; |
| 1278 |
Name_Begin : constant Name_Id := N + $; |
| 1279 |
Name_Body : constant Name_Id := N + $; |
| 1280 |
Name_Case : constant Name_Id := N + $; |
| 1281 |
Name_Constant : constant Name_Id := N + $; |
| 1282 |
Name_Declare : constant Name_Id := N + $; |
| 1283 |
Name_Delay : constant Name_Id := N + $; |
| 1284 |
Name_Do : constant Name_Id := N + $; |
| 1285 |
Name_Else : constant Name_Id := N + $; |
| 1286 |
Name_Elsif : constant Name_Id := N + $; |
| 1287 |
Name_End : constant Name_Id := N + $; |
| 1288 |
Name_Entry : constant Name_Id := N + $; |
| 1289 |
Name_Exception : constant Name_Id := N + $; |
| 1290 |
Name_Exit : constant Name_Id := N + $; |
| 1291 |
Name_For : constant Name_Id := N + $; |
| 1292 |
Name_Function : constant Name_Id := N + $; |
| 1293 |
Name_Generic : constant Name_Id := N + $; |
| 1294 |
Name_Goto : constant Name_Id := N + $; |
| 1295 |
Name_If : constant Name_Id := N + $; |
| 1296 |
Name_In : constant Name_Id := N + $; |
| 1297 |
Name_Is : constant Name_Id := N + $; |
| 1298 |
Name_Limited : constant Name_Id := N + $; |
| 1299 |
Name_Loop : constant Name_Id := N + $; |
| 1300 |
Name_New : constant Name_Id := N + $; |
| 1301 |
Name_Not : constant Name_Id := N + $; |
| 1302 |
Name_Null : constant Name_Id := N + $; |
| 1303 |
Name_Of : constant Name_Id := N + $; |
| 1304 |
Name_Or : constant Name_Id := N + $; |
| 1305 |
Name_Others : constant Name_Id := N + $; |
| 1306 |
Name_Out : constant Name_Id := N + $; |
| 1307 |
Name_Package : constant Name_Id := N + $; |
| 1308 |
Name_Pragma : constant Name_Id := N + $; |
| 1309 |
Name_Private : constant Name_Id := N + $; |
| 1310 |
Name_Procedure : constant Name_Id := N + $; |
| 1311 |
Name_Raise : constant Name_Id := N + $; |
| 1312 |
Name_Record : constant Name_Id := N + $; |
| 1313 |
Name_Rem : constant Name_Id := N + $; |
| 1314 |
Name_Renames : constant Name_Id := N + $; |
| 1315 |
Name_Return : constant Name_Id := N + $; |
| 1316 |
Name_Reverse : constant Name_Id := N + $; |
| 1317 |
Name_Select : constant Name_Id := N + $; |
| 1318 |
Name_Separate : constant Name_Id := N + $; |
| 1319 |
Name_Subtype : constant Name_Id := N + $; |
| 1320 |
Name_Task : constant Name_Id := N + $; |
| 1321 |
Name_Terminate : constant Name_Id := N + $; |
| 1322 |
Name_Then : constant Name_Id := N + $; |
| 1323 |
Name_Type : constant Name_Id := N + $; |
| 1324 |
Name_Use : constant Name_Id := N + $; |
| 1325 |
Name_When : constant Name_Id := N + $; |
| 1326 |
Name_While : constant Name_Id := N + $; |
| 1327 |
Name_With : constant Name_Id := N + $; |
| 1328 |
Name_Xor : constant Name_Id := N + $; |
| 1329 |
|
| 1330 |
-- Names of intrinsic subprograms |
| 1331 |
|
| 1332 |
-- Note: Asm is missing from this list, since Asm is a legitimate |
| 1333 |
-- convention name. So is To_Address, which is a GNAT attribute. |
| 1334 |
|
| 1335 |
First_Intrinsic_Name : constant Name_Id := N + $; |
| 1336 |
Name_Compilation_ISO_Date : constant Name_Id := N + $; |
| 1337 |
Name_Compilation_Date : constant Name_Id := N + $; |
| 1338 |
Name_Compilation_Time : constant Name_Id := N + $; |
| 1339 |
Name_Divide : constant Name_Id := N + $; |
| 1340 |
Name_Enclosing_Entity : constant Name_Id := N + $; |
| 1341 |
Name_Exception_Information : constant Name_Id := N + $; |
| 1342 |
Name_Exception_Message : constant Name_Id := N + $; |
| 1343 |
Name_Exception_Name : constant Name_Id := N + $; |
| 1344 |
Name_File : constant Name_Id := N + $; |
| 1345 |
Name_Generic_Dispatching_Constructor : constant Name_Id := N + $; |
| 1346 |
Name_Import_Address : constant Name_Id := N + $; |
| 1347 |
Name_Import_Largest_Value : constant Name_Id := N + $; |
| 1348 |
Name_Import_Value : constant Name_Id := N + $; |
| 1349 |
Name_Line : constant Name_Id := N + $; |
| 1350 |
Name_Rotate_Left : constant Name_Id := N + $; |
| 1351 |
Name_Rotate_Right : constant Name_Id := N + $; |
| 1352 |
Name_Shift_Left : constant Name_Id := N + $; |
| 1353 |
Name_Shift_Right : constant Name_Id := N + $; |
| 1354 |
Name_Shift_Right_Arithmetic : constant Name_Id := N + $; |
| 1355 |
Name_Source_Location : constant Name_Id := N + $; |
| 1356 |
Name_To_Integer : constant Name_Id := N + $; |
| 1357 |
Name_To_Pointer : constant Name_Id := N + $; |
| 1358 |
Name_Unchecked_Conversion : constant Name_Id := N + $; |
| 1359 |
Name_Unchecked_Deallocation : constant Name_Id := N + $; |
| 1360 |
Last_Intrinsic_Name : constant Name_Id := N + $; |
| 1361 |
|
| 1362 |
-- Names used in processing intrinsic calls |
| 1363 |
|
| 1364 |
Name_Free : constant Name_Id := N + $; |
| 1365 |
|
| 1366 |
-- Ada 95 reserved words |
| 1367 |
|
| 1368 |
First_95_Reserved_Word : constant Name_Id := N + $; |
| 1369 |
Name_Abstract : constant Name_Id := N + $; |
| 1370 |
Name_Aliased : constant Name_Id := N + $; |
| 1371 |
Name_Protected : constant Name_Id := N + $; |
| 1372 |
Name_Until : constant Name_Id := N + $; |
| 1373 |
Name_Requeue : constant Name_Id := N + $; |
| 1374 |
Name_Tagged : constant Name_Id := N + $; |
| 1375 |
Last_95_Reserved_Word : constant Name_Id := N + $; |
| 1376 |
|
| 1377 |
subtype Ada_95_Reserved_Words is Name_Id |
| 1378 |
range First_95_Reserved_Word .. Last_95_Reserved_Word; |
| 1379 |
|
| 1380 |
-- Additional names used by the Repinfo unit |
| 1381 |
|
| 1382 |
Name_Discriminant : constant Name_Id := N + $; |
| 1383 |
Name_Operands : constant Name_Id := N + $; |
| 1384 |
Name_Present : constant Name_Id := N + $; |
| 1385 |
|
| 1386 |
-- Other miscellaneous names used in front end |
| 1387 |
-- Note that the UP_ prefix means use the rest of the name in uppercase, |
| 1388 |
-- e.g. Name_UP_RESULT maps to "RESULT". |
| 1389 |
|
| 1390 |
Name_Synchronous_Task_Control : constant Name_Id := N + $; |
| 1391 |
|
| 1392 |
-- Names used to implement iterators over predefined containers |
| 1393 |
|
| 1394 |
Name_Cursor : constant Name_Id := N + $; |
| 1395 |
Name_Element : constant Name_Id := N + $; |
| 1396 |
Name_Has_Element : constant Name_Id := N + $; |
| 1397 |
Name_Forward_Iterator : constant Name_Id := N + $; |
| 1398 |
Name_Reversible_Iterator : constant Name_Id := N + $; |
| 1399 |
Name_uNext : constant Name_Id := N + $; |
| 1400 |
Name_Previous : constant Name_Id := N + $; |
| 1401 |
Name_uPrevious : constant Name_Id := N + $; |
| 1402 |
Name_Pseudo_Reference : constant Name_Id := N + $; |
| 1403 |
Name_Reference_Control_Type : constant Name_Id := N + $; |
| 1404 |
Name_Get_Element_Access : constant Name_Id := N + $; |
| 1405 |
|
| 1406 |
-- Names for Ada 202x Aggregate aspect. Name_Aggregate is already |
| 1407 |
-- present for gprbuild. |
| 1408 |
|
| 1409 |
Name_Empty : constant Name_Id := N + $; |
| 1410 |
Name_Add_Named : constant Name_Id := N + $; |
| 1411 |
Name_Add_Unnamed : constant Name_Id := N + $; |
| 1412 |
Name_New_Indexed : constant Name_Id := N + $; |
| 1413 |
Name_Assign_Indexed : constant Name_Id := N + $; |
| 1414 |
|
| 1415 |
-- Ada 2005 reserved words |
| 1416 |
|
| 1417 |
First_2005_Reserved_Word : constant Name_Id := N + $; |
| 1418 |
Name_Interface : constant Name_Id := N + $; |
| 1419 |
Name_Overriding : constant Name_Id := N + $; |
| 1420 |
Name_Synchronized : constant Name_Id := N + $; |
| 1421 |
Last_2005_Reserved_Word : constant Name_Id := N + $; |
| 1422 |
|
| 1423 |
subtype Ada_2005_Reserved_Words is Name_Id |
| 1424 |
range First_2005_Reserved_Word .. Last_2005_Reserved_Word; |
| 1425 |
|
| 1426 |
-- Ada 2012 reserved words |
| 1427 |
|
| 1428 |
First_2012_Reserved_Word : constant Name_Id := N + $; |
| 1429 |
Name_Some : constant Name_Id := N + $; |
| 1430 |
Last_2012_Reserved_Word : constant Name_Id := N + $; |
| 1431 |
|
| 1432 |
subtype Ada_2012_Reserved_Words is Name_Id |
| 1433 |
range First_2012_Reserved_Word .. Last_2012_Reserved_Word; |
| 1434 |
|
| 1435 |
-- GNAT extensions reserved words |
| 1436 |
|
| 1437 |
First_GNAT_Extensions_Reserved_Word : constant Name_Id := N + $; |
| 1438 |
Name_Finally : constant Name_Id := N + $; |
| 1439 |
Last_GNAT_Extensions_Reserved_Word : constant Name_Id := N + $; |
| 1440 |
|
| 1441 |
subtype GNAT_Extensions_Reserved_Words is Name_Id |
| 1442 |
range First_GNAT_Extensions_Reserved_Word .. |
| 1443 |
Last_GNAT_Extensions_Reserved_Word; |
| 1444 |
|
| 1445 |
-- Mark last defined name for consistency check in Snames body |
| 1446 |
|
| 1447 |
Last_Predefined_Name : constant Name_Id := N + $; |
| 1448 |
|
| 1449 |
--------------------------------------- |
| 1450 |
-- Subtypes Defining Name Categories -- |
| 1451 |
--------------------------------------- |
| 1452 |
|
| 1453 |
subtype Any_Operator_Name is Name_Id |
| 1454 |
range First_Operator_Name .. Last_Operator_Name; |
| 1455 |
|
| 1456 |
subtype Configuration_Pragma_Names is Name_Id |
| 1457 |
range First_Pragma_Name .. Last_Configuration_Pragma_Name; |
| 1458 |
|
| 1459 |
------------------------------ |
| 1460 |
-- Attribute ID Definitions -- |
| 1461 |
------------------------------ |
| 1462 |
|
| 1463 |
type Attribute_Id is ( |
| 1464 |
Attribute_Abort_Signal, |
| 1465 |
Attribute_Access, |
| 1466 |
Attribute_Address, |
| 1467 |
Attribute_Address_Size, |
| 1468 |
Attribute_Aft, |
| 1469 |
Attribute_Alignment, |
| 1470 |
Attribute_Asm_Input, |
| 1471 |
Attribute_Asm_Output, |
| 1472 |
Attribute_Atomic_Always_Lock_Free, |
| 1473 |
Attribute_Bit, |
| 1474 |
Attribute_Bit_Order, |
| 1475 |
Attribute_Bit_Position, |
| 1476 |
Attribute_Body_Version, |
| 1477 |
Attribute_Callable, |
| 1478 |
Attribute_Caller, |
| 1479 |
Attribute_Code_Address, |
| 1480 |
Attribute_Compiler_Version, |
| 1481 |
Attribute_Component_Size, |
| 1482 |
Attribute_Compose, |
| 1483 |
Attribute_Constrained, |
| 1484 |
Attribute_Count, |
| 1485 |
Attribute_Default_Bit_Order, |
| 1486 |
Attribute_Default_Scalar_Storage_Order, |
| 1487 |
Attribute_Definite, |
| 1488 |
Attribute_Delta, |
| 1489 |
Attribute_Denorm, |
| 1490 |
Attribute_Deref, |
| 1491 |
Attribute_Descriptor_Size, |
| 1492 |
Attribute_Digits, |
| 1493 |
Attribute_Elaborated, |
| 1494 |
Attribute_Emax, |
| 1495 |
Attribute_Enabled, |
| 1496 |
Attribute_Enum_Rep, |
| 1497 |
Attribute_Enum_Val, |
| 1498 |
Attribute_Epsilon, |
| 1499 |
Attribute_Exponent, |
| 1500 |
Attribute_External_Tag, |
| 1501 |
Attribute_Fast_Math, |
| 1502 |
Attribute_Finalization_Size, |
| 1503 |
Attribute_First, |
| 1504 |
Attribute_First_Bit, |
| 1505 |
Attribute_First_Valid, |
| 1506 |
Attribute_Fixed_Value, |
| 1507 |
Attribute_Fore, |
| 1508 |
Attribute_Has_Access_Values, |
| 1509 |
Attribute_Has_Discriminants, |
| 1510 |
Attribute_Has_Same_Storage, |
| 1511 |
Attribute_Has_Tagged_Values, |
| 1512 |
Attribute_Identity, |
| 1513 |
Attribute_Index, |
| 1514 |
Attribute_Initialized, |
| 1515 |
Attribute_Integer_Value, |
| 1516 |
Attribute_Invalid_Value, |
| 1517 |
Attribute_Large, |
| 1518 |
Attribute_Last, |
| 1519 |
Attribute_Last_Bit, |
| 1520 |
Attribute_Last_Valid, |
| 1521 |
Attribute_Leading_Part, |
| 1522 |
Attribute_Length, |
| 1523 |
Attribute_Library_Level, |
| 1524 |
Attribute_Loop_Entry, |
| 1525 |
Attribute_Machine_Emax, |
| 1526 |
Attribute_Machine_Emin, |
| 1527 |
Attribute_Machine_Mantissa, |
| 1528 |
Attribute_Machine_Overflows, |
| 1529 |
Attribute_Machine_Radix, |
| 1530 |
Attribute_Machine_Rounding, |
| 1531 |
Attribute_Machine_Rounds, |
| 1532 |
Attribute_Machine_Size, |
| 1533 |
Attribute_Mantissa, |
| 1534 |
Attribute_Max_Alignment_For_Allocation, |
| 1535 |
Attribute_Max_Integer_Size, |
| 1536 |
Attribute_Max_Size_In_Storage_Elements, |
| 1537 |
Attribute_Maximum_Alignment, |
| 1538 |
Attribute_Mechanism_Code, |
| 1539 |
Attribute_Mod, |
| 1540 |
Attribute_Model_Emin, |
| 1541 |
Attribute_Model_Epsilon, |
| 1542 |
Attribute_Model_Mantissa, |
| 1543 |
Attribute_Model_Small, |
| 1544 |
Attribute_Modulus, |
| 1545 |
Attribute_Null_Parameter, |
| 1546 |
Attribute_Object_Size, |
| 1547 |
Attribute_Old, |
| 1548 |
Attribute_Overlaps_Storage, |
| 1549 |
Attribute_Partition_ID, |
| 1550 |
Attribute_Passed_By_Reference, |
| 1551 |
Attribute_Pool_Address, |
| 1552 |
Attribute_Pos, |
| 1553 |
Attribute_Position, |
| 1554 |
Attribute_Preelaborable_Initialization, |
| 1555 |
Attribute_Priority, |
| 1556 |
Attribute_Range, |
| 1557 |
Attribute_Range_Length, |
| 1558 |
Attribute_Reduce, |
| 1559 |
Attribute_Ref, |
| 1560 |
Attribute_Restriction_Set, |
| 1561 |
Attribute_Result, |
| 1562 |
Attribute_Round, |
| 1563 |
Attribute_Safe_Emax, |
| 1564 |
Attribute_Safe_First, |
| 1565 |
Attribute_Safe_Large, |
| 1566 |
Attribute_Safe_Last, |
| 1567 |
Attribute_Safe_Small, |
| 1568 |
Attribute_Scalar_Storage_Order, |
| 1569 |
Attribute_Scale, |
| 1570 |
Attribute_Scaling, |
| 1571 |
Attribute_Signed_Zeros, |
| 1572 |
Attribute_Size, |
| 1573 |
Attribute_Small, |
| 1574 |
Attribute_Small_Denominator, |
| 1575 |
Attribute_Small_Numerator, |
| 1576 |
Attribute_Storage_Size, |
| 1577 |
Attribute_Storage_Unit, |
| 1578 |
Attribute_Stream_Size, |
| 1579 |
Attribute_Super, |
| 1580 |
Attribute_System_Allocator_Alignment, |
| 1581 |
Attribute_Tag, |
| 1582 |
Attribute_Target_Name, |
| 1583 |
Attribute_Terminated, |
| 1584 |
Attribute_To_Address, |
| 1585 |
Attribute_Type_Class, |
| 1586 |
Attribute_Type_Key, |
| 1587 |
Attribute_Unbiased_Rounding, |
| 1588 |
Attribute_Unchecked_Access, |
| 1589 |
Attribute_Unconstrained_Array, |
| 1590 |
Attribute_Universal_Literal_String, |
| 1591 |
Attribute_Unrestricted_Access, |
| 1592 |
Attribute_Update, |
| 1593 |
Attribute_VADS_Size, |
| 1594 |
Attribute_Val, |
| 1595 |
Attribute_Valid, |
| 1596 |
Attribute_Valid_Scalars, |
| 1597 |
Attribute_Value_Size, |
| 1598 |
Attribute_Version, |
| 1599 |
Attribute_Wchar_T_Size, |
| 1600 |
Attribute_Wide_Wide_Width, |
| 1601 |
Attribute_Wide_Width, |
| 1602 |
Attribute_Width, |
| 1603 |
Attribute_Word_Size, |
| 1604 |
|
| 1605 |
-- Attributes designating renamable functions |
| 1606 |
|
| 1607 |
Attribute_Adjacent, |
| 1608 |
Attribute_Ceiling, |
| 1609 |
Attribute_Copy_Sign, |
| 1610 |
Attribute_Floor, |
| 1611 |
Attribute_Fraction, |
| 1612 |
Attribute_From_Any, |
| 1613 |
Attribute_Image, |
| 1614 |
Attribute_Img, |
| 1615 |
Attribute_Input, |
| 1616 |
Attribute_Machine, |
| 1617 |
Attribute_Max, |
| 1618 |
Attribute_Min, |
| 1619 |
Attribute_Model, |
| 1620 |
Attribute_Pred, |
| 1621 |
Attribute_Remainder, |
| 1622 |
Attribute_Rounding, |
| 1623 |
Attribute_Succ, |
| 1624 |
Attribute_To_Any, |
| 1625 |
Attribute_Truncation, |
| 1626 |
Attribute_TypeCode, |
| 1627 |
Attribute_Valid_Value, |
| 1628 |
Attribute_Value, |
| 1629 |
Attribute_Wide_Image, |
| 1630 |
Attribute_Wide_Wide_Image, |
| 1631 |
Attribute_Wide_Value, |
| 1632 |
Attribute_Wide_Wide_Value, |
| 1633 |
|
| 1634 |
-- Attributes designating procedures |
| 1635 |
|
| 1636 |
Attribute_Output, |
| 1637 |
Attribute_Put_Image, |
| 1638 |
Attribute_Read, |
| 1639 |
Attribute_Write, |
| 1640 |
|
| 1641 |
-- Entity attributes (includes type attributes) |
| 1642 |
|
| 1643 |
Attribute_Elab_Body, |
| 1644 |
Attribute_Elab_Spec, |
| 1645 |
Attribute_Elab_Subp_Body, |
| 1646 |
Attribute_Simple_Storage_Pool, |
| 1647 |
Attribute_Storage_Pool, |
| 1648 |
|
| 1649 |
-- Type attributes |
| 1650 |
|
| 1651 |
Attribute_Base, |
| 1652 |
Attribute_Class, |
| 1653 |
Attribute_Stub_Type, |
| 1654 |
|
| 1655 |
-- The internal attributes are on their own, out of order, because of |
| 1656 |
-- the special processing required to deal with the fact that their |
| 1657 |
-- names are not attribute names. |
| 1658 |
|
| 1659 |
Attribute_Constant_Indexing, |
| 1660 |
Attribute_CPU, |
| 1661 |
Attribute_Default_Iterator, |
| 1662 |
Attribute_Dispatching_Domain, |
| 1663 |
Attribute_Implicit_Dereference, |
| 1664 |
Attribute_Interrupt_Priority, |
| 1665 |
Attribute_Iterable, |
| 1666 |
Attribute_Iterator_Element, |
| 1667 |
Attribute_Variable_Indexing); |
| 1668 |
|
| 1669 |
subtype Internal_Attribute_Id is Attribute_Id |
| 1670 |
range Attribute_Constant_Indexing .. Attribute_Variable_Indexing; |
| 1671 |
|
| 1672 |
type Attribute_Set is array (Attribute_Id) of Boolean; |
| 1673 |
-- Type used to build attribute classification flag arrays |
| 1674 |
|
| 1675 |
------------------------------------ |
| 1676 |
-- Convention Name ID Definitions -- |
| 1677 |
------------------------------------ |
| 1678 |
|
| 1679 |
type Convention_Id is ( |
| 1680 |
|
| 1681 |
-- The native-to-Ada (non-foreign) conventions come first. These include |
| 1682 |
-- the ones defined in the RM, plus Stubbed. |
| 1683 |
|
| 1684 |
Convention_Ada, |
| 1685 |
Convention_Intrinsic, |
| 1686 |
Convention_Entry, |
| 1687 |
Convention_Protected, |
| 1688 |
Convention_Stubbed, |
| 1689 |
|
| 1690 |
-- The following conventions are equivalent to Ada for all purposes |
| 1691 |
-- except controlling the way parameters are passed. |
| 1692 |
|
| 1693 |
Convention_Ada_Pass_By_Copy, |
| 1694 |
Convention_Ada_Pass_By_Reference, |
| 1695 |
|
| 1696 |
-- The remaining conventions are foreign language conventions |
| 1697 |
|
| 1698 |
Convention_Assembler, -- also Asm, Assembly |
| 1699 |
Convention_C, -- also Default, External |
| 1700 |
Convention_C_Variadic_0, |
| 1701 |
Convention_C_Variadic_1, |
| 1702 |
Convention_C_Variadic_2, |
| 1703 |
Convention_C_Variadic_3, |
| 1704 |
Convention_C_Variadic_4, |
| 1705 |
Convention_C_Variadic_5, |
| 1706 |
Convention_C_Variadic_6, |
| 1707 |
Convention_C_Variadic_7, |
| 1708 |
Convention_C_Variadic_8, |
| 1709 |
Convention_C_Variadic_9, |
| 1710 |
Convention_C_Variadic_10, |
| 1711 |
Convention_C_Variadic_11, |
| 1712 |
Convention_C_Variadic_12, |
| 1713 |
Convention_C_Variadic_13, |
| 1714 |
Convention_C_Variadic_14, |
| 1715 |
Convention_C_Variadic_15, |
| 1716 |
Convention_C_Variadic_16, |
| 1717 |
Convention_CPP, |
| 1718 |
Convention_COBOL, |
| 1719 |
Convention_Fortran, |
| 1720 |
Convention_Stdcall); -- also DLL, Win32 |
| 1721 |
|
| 1722 |
-- Note: Convention C_Pass_By_Copy is allowed only for record types |
| 1723 |
-- (where it is treated like C except that the appropriate flag is set |
| 1724 |
-- in the record type). Recognizing this convention is specially handled |
| 1725 |
-- in Sem_Prag. |
| 1726 |
|
| 1727 |
for Convention_Id'Size use 8; |
| 1728 |
|
| 1729 |
subtype Convention_C_Family is Convention_Id |
| 1730 |
range Convention_C .. Convention_CPP; |
| 1731 |
|
| 1732 |
subtype Convention_C_Variadic is Convention_Id |
| 1733 |
range Convention_C_Variadic_0 .. Convention_C_Variadic_16; |
| 1734 |
|
| 1735 |
subtype Foreign_Convention is Convention_Id |
| 1736 |
range Convention_Assembler .. Convention_Stdcall; |
| 1737 |
|
| 1738 |
----------------------------------- |
| 1739 |
-- Locking Policy ID Definitions -- |
| 1740 |
----------------------------------- |
| 1741 |
|
| 1742 |
type Locking_Policy_Id is ( |
| 1743 |
Locking_Policy_Inheritance_Locking, |
| 1744 |
Locking_Policy_Ceiling_Locking, |
| 1745 |
Locking_Policy_Concurrent_Readers_Locking); |
| 1746 |
|
| 1747 |
--------------------------- |
| 1748 |
-- Pragma ID Definitions -- |
| 1749 |
--------------------------- |
| 1750 |
|
| 1751 |
type Pragma_Id is ( |
| 1752 |
|
| 1753 |
-- Configuration pragmas are grouped at start. Note that there is a list |
| 1754 |
-- of them in the GNAT UG (doc/gnat_ugn/the_gnat_compilation_model.rst), |
| 1755 |
-- be sure to update this list if a new configuration pragma is added. |
| 1756 |
|
| 1757 |
Pragma_Ada_83, |
| 1758 |
Pragma_Ada_95, |
| 1759 |
Pragma_Ada_05, |
| 1760 |
Pragma_Ada_2005, |
| 1761 |
Pragma_Ada_12, |
| 1762 |
Pragma_Ada_2012, |
| 1763 |
Pragma_Ada_2022, |
| 1764 |
-- Note that there is no Pragma_Ada_22. Pragma_Ada_05/12 are for |
| 1765 |
-- compatibility reasons only; the full year names are preferred. |
| 1766 |
Pragma_Aggregate_Individually_Assign, |
| 1767 |
Pragma_Allow_Integer_Address, |
| 1768 |
Pragma_Annotate, |
| 1769 |
Pragma_Assertion_Policy, |
| 1770 |
Pragma_Assume_No_Invalid_Values, |
| 1771 |
Pragma_C_Pass_By_Copy, |
| 1772 |
Pragma_Check_Float_Overflow, |
| 1773 |
Pragma_Check_Name, |
| 1774 |
Pragma_Check_Policy, |
| 1775 |
Pragma_Component_Alignment, |
| 1776 |
Pragma_Convention_Identifier, |
| 1777 |
Pragma_Debug_Policy, |
| 1778 |
Pragma_Default_Storage_Pool, |
| 1779 |
Pragma_Detect_Blocking, |
| 1780 |
Pragma_Disable_Atomic_Synchronization, |
| 1781 |
Pragma_Discard_Names, |
| 1782 |
Pragma_Elaboration_Checks, |
| 1783 |
Pragma_Eliminate, |
| 1784 |
Pragma_Enable_Atomic_Synchronization, |
| 1785 |
Pragma_Extend_System, |
| 1786 |
Pragma_Extensions_Allowed, |
| 1787 |
Pragma_External_Name_Casing, |
| 1788 |
Pragma_Favor_Top_Level, |
| 1789 |
Pragma_GNAT_Annotate, |
| 1790 |
Pragma_Ignore_Pragma, |
| 1791 |
Pragma_Implicit_Packing, |
| 1792 |
Pragma_Initialize_Scalars, |
| 1793 |
Pragma_Interrupt_State, |
| 1794 |
Pragma_License, |
| 1795 |
Pragma_Locking_Policy, |
| 1796 |
Pragma_No_Component_Reordering, |
| 1797 |
Pragma_No_Heap_Finalization, |
| 1798 |
Pragma_No_Run_Time, |
| 1799 |
Pragma_Interrupts_System_By_Default, |
| 1800 |
Pragma_No_Strict_Aliasing, |
| 1801 |
Pragma_Normalize_Scalars, |
| 1802 |
Pragma_Optimize_Alignment, |
| 1803 |
Pragma_Overflow_Mode, |
| 1804 |
Pragma_Overriding_Renamings, |
| 1805 |
Pragma_Partition_Elaboration_Policy, |
| 1806 |
Pragma_Persistent_BSS, |
| 1807 |
Pragma_Prefix_Exception_Messages, |
| 1808 |
Pragma_Priority_Specific_Dispatching, |
| 1809 |
Pragma_Profile, |
| 1810 |
Pragma_Profile_Warnings, |
| 1811 |
Pragma_Propagate_Exceptions, |
| 1812 |
Pragma_Queuing_Policy, |
| 1813 |
Pragma_Rational, |
| 1814 |
Pragma_Ravenscar, |
| 1815 |
Pragma_Rename_Pragma, |
| 1816 |
Pragma_Restricted_Run_Time, |
| 1817 |
Pragma_Restrictions, |
| 1818 |
Pragma_Restriction_Warnings, |
| 1819 |
Pragma_Reviewable, |
| 1820 |
Pragma_Short_Circuit_And_Or, |
| 1821 |
Pragma_Short_Descriptors, |
| 1822 |
Pragma_Source_File_Name, |
| 1823 |
Pragma_Source_File_Name_Project, |
| 1824 |
Pragma_SPARK_Mode, |
| 1825 |
Pragma_Style_Checks, |
| 1826 |
Pragma_Suppress, |
| 1827 |
Pragma_Suppress_Exception_Locations, |
| 1828 |
Pragma_Task_Dispatching_Policy, |
| 1829 |
Pragma_Unevaluated_Use_Of_Old, |
| 1830 |
Pragma_Unsuppress, |
| 1831 |
Pragma_Use_VADS_Size, |
| 1832 |
Pragma_User_Aspect_Definition, |
| 1833 |
Pragma_Validity_Checks, |
| 1834 |
Pragma_Warning_As_Error, |
| 1835 |
Pragma_Warnings, |
| 1836 |
Pragma_Wide_Character_Encoding, |
| 1837 |
|
| 1838 |
-- Remaining (non-configuration) pragmas |
| 1839 |
|
| 1840 |
Pragma_Abort_Defer, |
| 1841 |
Pragma_Abstract_State, |
| 1842 |
Pragma_All_Calls_Remote, |
| 1843 |
Pragma_Always_Terminates, |
| 1844 |
Pragma_Assert, |
| 1845 |
Pragma_Assert_And_Cut, |
| 1846 |
Pragma_Assume, |
| 1847 |
Pragma_Async_Readers, |
| 1848 |
Pragma_Async_Writers, |
| 1849 |
Pragma_Asynchronous, |
| 1850 |
Pragma_Atomic, |
| 1851 |
Pragma_Atomic_Components, |
| 1852 |
Pragma_Attach_Handler, |
| 1853 |
Pragma_Attribute_Definition, |
| 1854 |
Pragma_Check, |
| 1855 |
Pragma_Comment, |
| 1856 |
Pragma_Common_Object, |
| 1857 |
Pragma_Compile_Time_Error, |
| 1858 |
Pragma_Compile_Time_Warning, |
| 1859 |
Pragma_Complete_Representation, |
| 1860 |
Pragma_Complex_Representation, |
| 1861 |
Pragma_Constant_After_Elaboration, |
| 1862 |
Pragma_Contract_Cases, |
| 1863 |
Pragma_Controlled, |
| 1864 |
Pragma_Convention, |
| 1865 |
Pragma_CPP_Class, |
| 1866 |
Pragma_CPP_Constructor, |
| 1867 |
Pragma_CPP_Virtual, |
| 1868 |
Pragma_CPP_Vtable, |
| 1869 |
Pragma_CUDA_Device, |
| 1870 |
Pragma_CUDA_Execute, |
| 1871 |
Pragma_CUDA_Global, |
| 1872 |
Pragma_Deadline_Floor, |
| 1873 |
Pragma_Debug, |
| 1874 |
Pragma_Default_Initial_Condition, |
| 1875 |
Pragma_Depends, |
| 1876 |
Pragma_Effective_Reads, |
| 1877 |
Pragma_Effective_Writes, |
| 1878 |
Pragma_Elaborate, |
| 1879 |
Pragma_Elaborate_All, |
| 1880 |
Pragma_Elaborate_Body, |
| 1881 |
Pragma_Exceptional_Cases, |
| 1882 |
Pragma_Exit_Cases, |
| 1883 |
Pragma_Export, |
| 1884 |
Pragma_Export_Function, |
| 1885 |
Pragma_Export_Object, |
| 1886 |
Pragma_Export_Procedure, |
| 1887 |
Pragma_Export_Valued_Procedure, |
| 1888 |
Pragma_Extended_Access, |
| 1889 |
Pragma_Extensions_Visible, |
| 1890 |
Pragma_External, |
| 1891 |
Pragma_Finalize_Storage_Only, |
| 1892 |
Pragma_First_Controlling_Parameter, |
| 1893 |
Pragma_Ghost, |
| 1894 |
Pragma_Global, |
| 1895 |
Pragma_Ident, |
| 1896 |
Pragma_Implementation_Defined, |
| 1897 |
Pragma_Implemented, |
| 1898 |
Pragma_Import, |
| 1899 |
Pragma_Import_Function, |
| 1900 |
Pragma_Import_Object, |
| 1901 |
Pragma_Import_Procedure, |
| 1902 |
Pragma_Import_Valued_Procedure, |
| 1903 |
Pragma_Independent, |
| 1904 |
Pragma_Independent_Components, |
| 1905 |
Pragma_Initial_Condition, |
| 1906 |
Pragma_Initializes, |
| 1907 |
Pragma_Inline, |
| 1908 |
Pragma_Inline_Always, |
| 1909 |
Pragma_Inline_Generic, |
| 1910 |
Pragma_Inspection_Point, |
| 1911 |
Pragma_Interface_Name, |
| 1912 |
Pragma_Interrupt_Handler, |
| 1913 |
Pragma_Invariant, |
| 1914 |
Pragma_Keep_Names, |
| 1915 |
Pragma_Link_With, |
| 1916 |
Pragma_Linker_Alias, |
| 1917 |
Pragma_Linker_Constructor, |
| 1918 |
Pragma_Linker_Destructor, |
| 1919 |
Pragma_Linker_Options, |
| 1920 |
Pragma_Linker_Section, |
| 1921 |
Pragma_List, |
| 1922 |
Pragma_Lock_Free, |
| 1923 |
Pragma_Loop_Invariant, |
| 1924 |
Pragma_Loop_Optimize, |
| 1925 |
Pragma_Loop_Variant, |
| 1926 |
Pragma_Machine_Attribute, |
| 1927 |
Pragma_Main, |
| 1928 |
Pragma_Main_Storage, |
| 1929 |
Pragma_Max_Entry_Queue_Length, |
| 1930 |
Pragma_Max_Queue_Length, |
| 1931 |
Pragma_Memory_Size, |
| 1932 |
Pragma_No_Body, |
| 1933 |
Pragma_No_Caching, |
| 1934 |
Pragma_No_Elaboration_Code_All, |
| 1935 |
Pragma_No_Inline, |
| 1936 |
Pragma_No_Raise, |
| 1937 |
Pragma_No_Return, |
| 1938 |
Pragma_No_Tagged_Streams, |
| 1939 |
Pragma_Obsolescent, |
| 1940 |
Pragma_Optimize, |
| 1941 |
Pragma_Ordered, |
| 1942 |
Pragma_Pack, |
| 1943 |
Pragma_Page, |
| 1944 |
Pragma_Part_Of, |
| 1945 |
Pragma_Passive, |
| 1946 |
Pragma_Post, |
| 1947 |
Pragma_Postcondition, |
| 1948 |
Pragma_Post_Class, |
| 1949 |
Pragma_Pre, |
| 1950 |
Pragma_Precondition, |
| 1951 |
Pragma_Predicate, |
| 1952 |
Pragma_Predicate_Failure, |
| 1953 |
Pragma_Preelaborate, |
| 1954 |
Pragma_Pre_Class, |
| 1955 |
Pragma_Provide_Shift_Operators, |
| 1956 |
Pragma_Psect_Object, |
| 1957 |
Pragma_Pure, |
| 1958 |
Pragma_Pure_Function, |
| 1959 |
Pragma_Refined_Depends, |
| 1960 |
Pragma_Refined_Global, |
| 1961 |
Pragma_Refined_Post, |
| 1962 |
Pragma_Refined_State, |
| 1963 |
Pragma_Relative_Deadline, |
| 1964 |
Pragma_Remote_Access_Type, |
| 1965 |
Pragma_Remote_Call_Interface, |
| 1966 |
Pragma_Remote_Types, |
| 1967 |
Pragma_Share_Generic, |
| 1968 |
Pragma_Shared, |
| 1969 |
Pragma_Shared_Passive, |
| 1970 |
Pragma_Side_Effects, |
| 1971 |
Pragma_Simple_Storage_Pool_Type, |
| 1972 |
Pragma_Simulate_Internal_Error, |
| 1973 |
Pragma_Source_Reference, |
| 1974 |
Pragma_Static_Elaboration_Desired, |
| 1975 |
Pragma_Stream_Convert, |
| 1976 |
Pragma_Subprogram_Variant, |
| 1977 |
Pragma_Subtitle, |
| 1978 |
Pragma_Suppress_All, |
| 1979 |
Pragma_Suppress_Debug_Info, |
| 1980 |
Pragma_Suppress_Initialization, |
| 1981 |
Pragma_System_Name, |
| 1982 |
Pragma_Task_Info, |
| 1983 |
Pragma_Task_Name, |
| 1984 |
Pragma_Task_Storage, |
| 1985 |
Pragma_Test_Case, |
| 1986 |
Pragma_Thread_Local_Storage, |
| 1987 |
Pragma_Time_Slice, |
| 1988 |
Pragma_Title, |
| 1989 |
Pragma_Type_Invariant, |
| 1990 |
Pragma_Type_Invariant_Class, |
| 1991 |
Pragma_Unchecked_Union, |
| 1992 |
Pragma_Unimplemented_Unit, |
| 1993 |
Pragma_Universal_Aliasing, |
| 1994 |
Pragma_Unmodified, |
| 1995 |
Pragma_Unreferenced, |
| 1996 |
Pragma_Unreferenced_Objects, |
| 1997 |
Pragma_Unreserve_All_Interrupts, |
| 1998 |
Pragma_Unused, |
| 1999 |
Pragma_Volatile, |
| 2000 |
Pragma_Volatile_Components, |
| 2001 |
Pragma_Volatile_Full_Access, |
| 2002 |
Pragma_Volatile_Function, |
| 2003 |
Pragma_Weak_External, |
| 2004 |
|
| 2005 |
-- The following pragmas are on their own, out of order, because of the |
| 2006 |
-- special processing required to deal with the fact that their names |
| 2007 |
-- match existing attribute names. Note that when a pragma is added in |
| 2008 |
-- this section, functions Get_Pragma_Id and Is_Pragma_Name must be |
| 2009 |
-- updated to account for the new pragma. |
| 2010 |
|
| 2011 |
Pragma_CPU, |
| 2012 |
Pragma_Default_Scalar_Storage_Order, |
| 2013 |
Pragma_Dispatching_Domain, |
| 2014 |
Pragma_Fast_Math, |
| 2015 |
Pragma_Interface, |
| 2016 |
Pragma_Interrupt_Priority, |
| 2017 |
Pragma_Preelaborable_Initialization, |
| 2018 |
Pragma_Priority, |
| 2019 |
Pragma_Secondary_Stack_Size, |
| 2020 |
Pragma_Storage_Size, |
| 2021 |
Pragma_Storage_Unit, |
| 2022 |
|
| 2023 |
-- The value to represent an unknown or unrecognized pragma |
| 2024 |
|
| 2025 |
Unknown_Pragma); |
| 2026 |
|
| 2027 |
----------------------------------- |
| 2028 |
-- Queuing Policy ID definitions -- |
| 2029 |
----------------------------------- |
| 2030 |
|
| 2031 |
type Queuing_Policy_Id is ( |
| 2032 |
Queuing_Policy_FIFO_Queuing, |
| 2033 |
Queuing_Policy_Priority_Queuing); |
| 2034 |
|
| 2035 |
-------------------------------------------- |
| 2036 |
-- Task Dispatching Policy ID definitions -- |
| 2037 |
-------------------------------------------- |
| 2038 |
|
| 2039 |
type Task_Dispatching_Policy_Id is ( |
| 2040 |
Task_Dispatching_FIFO_Within_Priorities); |
| 2041 |
-- Id values used to identify task dispatching policies |
| 2042 |
|
| 2043 |
----------------- |
| 2044 |
-- Subprograms -- |
| 2045 |
----------------- |
| 2046 |
|
| 2047 |
procedure Initialize; |
| 2048 |
-- Called to initialize the preset names in the names table |
| 2049 |
|
| 2050 |
function Is_Attribute_Name (N : Name_Id) return Boolean; |
| 2051 |
-- Test to see if the name N is the name of a recognized attribute. Note |
| 2052 |
-- that Name_Elab_Subp_Body returns False if not operating in CodePeer |
| 2053 |
-- mode. This is the mechanism for considering this pragma illegal in |
| 2054 |
-- normal GNAT programs. |
| 2055 |
|
| 2056 |
function Is_Entity_Attribute_Name (N : Name_Id) return Boolean; |
| 2057 |
-- Test to see if the name N is the name of a recognized entity attribute, |
| 2058 |
-- i.e. an attribute reference that returns an entity. |
| 2059 |
|
| 2060 |
function Is_Internal_Attribute_Name (N : Name_Id) return Boolean; |
| 2061 |
-- Test to see if the name N is the name of an internal attribute |
| 2062 |
|
| 2063 |
function Is_Procedure_Attribute_Name (N : Name_Id) return Boolean; |
| 2064 |
-- Test to see if the name N is the name of a recognized attribute that |
| 2065 |
-- designates a procedure (and can therefore appear as a statement). |
| 2066 |
|
| 2067 |
function Is_Function_Attribute_Name (N : Name_Id) return Boolean; |
| 2068 |
-- Test to see if the name N is the name of a recognized attribute |
| 2069 |
-- that designates a renameable function, and can therefore appear in |
| 2070 |
-- a renaming statement. Note that not all attributes designating |
| 2071 |
-- functions are renamable, in particular, those returning a universal |
| 2072 |
-- value cannot be renamed. |
| 2073 |
|
| 2074 |
function Is_Type_Attribute_Name (N : Name_Id) return Boolean; |
| 2075 |
-- Test to see if the name N is the name of a recognized type attribute, |
| 2076 |
-- i.e. an attribute reference that returns a type |
| 2077 |
|
| 2078 |
function Is_Convention_Name (N : Name_Id) return Boolean; |
| 2079 |
-- Test to see if the name N is the name of one of the recognized |
| 2080 |
-- language conventions, as required by pragma Convention, Import, |
| 2081 |
-- Export, Interface. Returns True if so. Also returns True for a |
| 2082 |
-- name that has been specified by a Convention_Identifier pragma. |
| 2083 |
-- If neither case holds, returns False. |
| 2084 |
|
| 2085 |
function Is_Keyword_Name (N : Name_Id) return Boolean; |
| 2086 |
-- Test to see if the name N is one of the (reserved) keyword names. This |
| 2087 |
-- includes all the keywords defined in the Ada standard (taking into |
| 2088 |
-- effect the Ada version). It also includes additional keywords in |
| 2089 |
-- contexts where additional keywords have been added. For example, in the |
| 2090 |
-- context of parsing project files, keywords such as PROJECT are included. |
| 2091 |
|
| 2092 |
function Is_Locking_Policy_Name (N : Name_Id) return Boolean; |
| 2093 |
-- Test to see if the name N is the name of a recognized locking policy |
| 2094 |
|
| 2095 |
function Is_Partition_Elaboration_Policy_Name |
| 2096 |
(N : Name_Id) return Boolean; |
| 2097 |
-- Test to see if the name N is the name of a recognized partition |
| 2098 |
-- elaboration policy. |
| 2099 |
|
| 2100 |
function Is_Operator_Symbol_Name (N : Name_Id) return Boolean; |
| 2101 |
-- Test to see if the name N is the name of an operator symbol |
| 2102 |
|
| 2103 |
function Is_Pragma_Name (N : Name_Id) return Boolean; |
| 2104 |
-- Test to see if the name N is the name of a recognized pragma. Note |
| 2105 |
-- that pragmas CPU, Dispatching_Domain, Fast_Math, Interrupt_Priority, |
| 2106 |
-- Priority, Storage_Size, and Storage_Unit are recognized as pragmas by |
| 2107 |
-- this function even though their names are separate from the other |
| 2108 |
-- pragma names. For this reason, clients should always use this function, |
| 2109 |
-- rather than do range tests on Name_Id values. |
| 2110 |
|
| 2111 |
function Is_Configuration_Pragma_Name (N : Name_Id) return Boolean; |
| 2112 |
-- Test to see if the name N is the name of a recognized configuration |
| 2113 |
-- pragma. Note that pragma Fast_Math is recognized as a configuration |
| 2114 |
-- pragma by this function even though its name is separate from other |
| 2115 |
-- configuration pragma names. For this reason, clients should always |
| 2116 |
-- use this function, rather than do range tests on Name_Id values. |
| 2117 |
|
| 2118 |
function Is_Queuing_Policy_Name (N : Name_Id) return Boolean; |
| 2119 |
-- Test to see if the name N is the name of a recognized queuing policy |
| 2120 |
|
| 2121 |
function Is_Task_Dispatching_Policy_Name (N : Name_Id) return Boolean; |
| 2122 |
-- Test to see if the name N is the name of a recognized task |
| 2123 |
-- dispatching policy. |
| 2124 |
|
| 2125 |
function Get_Attribute_Id (N : Name_Id) return Attribute_Id; |
| 2126 |
-- Returns Id of attribute corresponding to given name. It is an error to |
| 2127 |
-- call this function with a name that is not the name of a attribute. Note |
| 2128 |
-- that the function also works correctly for internal attribute names even |
| 2129 |
-- though there are not included in the main list of attribute Names. |
| 2130 |
|
| 2131 |
function Get_Convention_Id (N : Name_Id) return Convention_Id; |
| 2132 |
-- Returns Id of language convention corresponding to given name. It is |
| 2133 |
-- an error to call this function with a name that is not the name of a |
| 2134 |
-- convention, or one that has been previously recorded using a call to |
| 2135 |
-- Record_Convention_Identifier. |
| 2136 |
|
| 2137 |
function Get_Convention_Name (C : Convention_Id) return Name_Id; |
| 2138 |
-- Returns the name of language convention corresponding to given |
| 2139 |
-- convention id. |
| 2140 |
|
| 2141 |
function Get_Locking_Policy_Id (N : Name_Id) return Locking_Policy_Id; |
| 2142 |
-- Returns Id of locking policy corresponding to given name. It is an error |
| 2143 |
-- to call this function with a name that is not the name of a check. |
| 2144 |
|
| 2145 |
function Get_Pragma_Id (N : Name_Id) return Pragma_Id; |
| 2146 |
-- Returns Id of pragma corresponding to given name. Returns Unknown_Pragma |
| 2147 |
-- if N is not a name of a known (Ada defined or GNAT-specific) pragma. |
| 2148 |
-- Note that the function also works correctly for names of pragmas that |
| 2149 |
-- are not included in the main list of pragma Names (e.g. Name_CPU returns |
| 2150 |
-- Pragma_CPU). |
| 2151 |
|
| 2152 |
function Get_Queuing_Policy_Id (N : Name_Id) return Queuing_Policy_Id; |
| 2153 |
-- Returns Id of queuing policy corresponding to given name. It is an error |
| 2154 |
-- to call this function with a name that is not the name of a check. |
| 2155 |
|
| 2156 |
function Get_Task_Dispatching_Policy_Id |
| 2157 |
(N : Name_Id) return Task_Dispatching_Policy_Id; |
| 2158 |
-- Returns Id of task dispatching policy corresponding to given name. It |
| 2159 |
-- is an error to call this function with a name that is not the name of |
| 2160 |
-- a defined check. |
| 2161 |
|
| 2162 |
procedure Record_Convention_Identifier |
| 2163 |
(Id : Name_Id; |
| 2164 |
Convention : Convention_Id); |
| 2165 |
-- A call to this procedure, resulting from an occurrence of a pragma |
| 2166 |
-- Convention_Identifier, records that from now on an occurrence of Id |
| 2167 |
-- will be recognized as a name for the specified convention. |
| 2168 |
|
| 2169 |
private |
| 2170 |
pragma Inline (Is_Attribute_Name); |
| 2171 |
pragma Inline (Is_Configuration_Pragma_Name); |
| 2172 |
pragma Inline (Is_Entity_Attribute_Name); |
| 2173 |
pragma Inline (Is_Function_Attribute_Name); |
| 2174 |
pragma Inline (Is_Internal_Attribute_Name); |
| 2175 |
pragma Inline (Is_Locking_Policy_Name); |
| 2176 |
pragma Inline (Is_Partition_Elaboration_Policy_Name); |
| 2177 |
pragma Inline (Is_Operator_Symbol_Name); |
| 2178 |
pragma Inline (Is_Pragma_Name); |
| 2179 |
pragma Inline (Is_Procedure_Attribute_Name); |
| 2180 |
pragma Inline (Is_Queuing_Policy_Name); |
| 2181 |
pragma Inline (Is_Task_Dispatching_Policy_Name); |
| 2182 |
pragma Inline (Is_Type_Attribute_Name); |
| 2183 |
|
| 2184 |
end Snames; |