1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
9 -- Copyright (C) 1992-2009, Free Software Foundation, Inc. --
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. --
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception, --
20 -- version 3.1, as published by the Free Software Foundation. --
22 -- You should have received a copy of the GNU General Public License and --
23 -- a copy of the GCC Runtime Library Exception along with this program; --
24 -- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
25 -- <http://www.gnu.org/licenses/>. --
27 -- GNAT was originally developed by the GNAT team at New York University. --
28 -- Extensive contributions were provided by Ada Core Technologies Inc. --
30 ------------------------------------------------------------------------------
32 pragma Style_Checks (All_Checks);
33 -- No subprogram ordering check, due to logical grouping
35 with Atree; use Atree;
39 use Atree.Unchecked_Access;
40 -- This package is one of the few packages which is allowed to make direct
41 -- references to tree nodes (since it is in the business of providing a
42 -- higher level of tree access which other clients are expected to use and
43 -- which implements checks).
45 use Atree_Private_Part;
46 -- The only reason that we ask for direct access to the private part of
47 -- the tree package is so that we can directly reference the Nkind field
48 -- of nodes table entries. We do this since it helps the efficiency of
49 -- the Sinfo debugging checks considerably (note that when we are checking
50 -- Nkind values, we don't need to check for a valid node reference, because
51 -- we will check that anyway when we reference the field).
53 NT : Nodes.Table_Ptr renames Nodes.Table;
54 -- A short hand abbreviation, useful for the debugging checks
56 ----------------------------
57 -- Field Access Functions --
58 ----------------------------
60 function ABE_Is_Certain
61 (N : Node_Id) return Boolean is
64 or else NT (N).Nkind = N_Formal_Package_Declaration
65 or else NT (N).Nkind = N_Function_Call
66 or else NT (N).Nkind = N_Function_Instantiation
67 or else NT (N).Nkind = N_Package_Instantiation
68 or else NT (N).Nkind = N_Procedure_Call_Statement
69 or else NT (N).Nkind = N_Procedure_Instantiation);
73 function Abort_Present
74 (N : Node_Id) return Boolean is
77 or else NT (N).Nkind = N_Requeue_Statement);
81 function Abortable_Part
82 (N : Node_Id) return Node_Id is
85 or else NT (N).Nkind = N_Asynchronous_Select);
89 function Abstract_Present
90 (N : Node_Id) return Boolean is
93 or else NT (N).Nkind = N_Derived_Type_Definition
94 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
95 or else NT (N).Nkind = N_Formal_Private_Type_Definition
96 or else NT (N).Nkind = N_Private_Extension_Declaration
97 or else NT (N).Nkind = N_Private_Type_Declaration
98 or else NT (N).Nkind = N_Record_Definition);
100 end Abstract_Present;
102 function Accept_Handler_Records
103 (N : Node_Id) return List_Id is
106 or else NT (N).Nkind = N_Accept_Alternative);
108 end Accept_Handler_Records;
110 function Accept_Statement
111 (N : Node_Id) return Node_Id is
114 or else NT (N).Nkind = N_Accept_Alternative);
116 end Accept_Statement;
118 function Access_Definition
119 (N : Node_Id) return Node_Id is
122 or else NT (N).Nkind = N_Component_Definition
123 or else NT (N).Nkind = N_Formal_Object_Declaration
124 or else NT (N).Nkind = N_Object_Renaming_Declaration);
126 end Access_Definition;
128 function Access_To_Subprogram_Definition
129 (N : Node_Id) return Node_Id is
132 or else NT (N).Nkind = N_Access_Definition);
134 end Access_To_Subprogram_Definition;
136 function Access_Types_To_Process
137 (N : Node_Id) return Elist_Id is
140 or else NT (N).Nkind = N_Freeze_Entity);
142 end Access_Types_To_Process;
145 (N : Node_Id) return List_Id is
148 or else NT (N).Nkind = N_And_Then
149 or else NT (N).Nkind = N_Compilation_Unit_Aux
150 or else NT (N).Nkind = N_Freeze_Entity
151 or else NT (N).Nkind = N_Or_Else);
155 function Activation_Chain_Entity
156 (N : Node_Id) return Node_Id is
159 or else NT (N).Nkind = N_Block_Statement
160 or else NT (N).Nkind = N_Entry_Body
161 or else NT (N).Nkind = N_Generic_Package_Declaration
162 or else NT (N).Nkind = N_Package_Declaration
163 or else NT (N).Nkind = N_Subprogram_Body
164 or else NT (N).Nkind = N_Task_Body);
166 end Activation_Chain_Entity;
168 function Acts_As_Spec
169 (N : Node_Id) return Boolean is
172 or else NT (N).Nkind = N_Compilation_Unit
173 or else NT (N).Nkind = N_Subprogram_Body);
177 function Actual_Designated_Subtype
178 (N : Node_Id) return Node_Id is
181 or else NT (N).Nkind = N_Explicit_Dereference
182 or else NT (N).Nkind = N_Free_Statement);
184 end Actual_Designated_Subtype;
186 function Address_Warning_Posted
187 (N : Node_Id) return Boolean is
190 or else NT (N).Nkind = N_Attribute_Definition_Clause);
192 end Address_Warning_Posted;
194 function Aggregate_Bounds
195 (N : Node_Id) return Node_Id is
198 or else NT (N).Nkind = N_Aggregate);
200 end Aggregate_Bounds;
202 function Aliased_Present
203 (N : Node_Id) return Boolean is
206 or else NT (N).Nkind = N_Component_Definition
207 or else NT (N).Nkind = N_Object_Declaration);
212 (N : Node_Id) return Boolean is
215 or else NT (N).Nkind = N_Others_Choice);
220 (N : Node_Id) return Boolean is
223 or else NT (N).Nkind = N_Access_Definition
224 or else NT (N).Nkind = N_Access_To_Object_Definition);
228 function Alternatives
229 (N : Node_Id) return List_Id is
232 or else NT (N).Nkind = N_Case_Statement
233 or else NT (N).Nkind = N_In
234 or else NT (N).Nkind = N_Not_In);
238 function Ancestor_Part
239 (N : Node_Id) return Node_Id is
242 or else NT (N).Nkind = N_Extension_Aggregate);
246 function Array_Aggregate
247 (N : Node_Id) return Node_Id is
250 or else NT (N).Nkind = N_Enumeration_Representation_Clause);
254 function Assignment_OK
255 (N : Node_Id) return Boolean is
258 or else NT (N).Nkind = N_Object_Declaration
259 or else NT (N).Nkind in N_Subexpr);
263 function Associated_Node
264 (N : Node_Id) return Node_Id is
267 or else NT (N).Nkind in N_Has_Entity
268 or else NT (N).Nkind = N_Aggregate
269 or else NT (N).Nkind = N_Extension_Aggregate
270 or else NT (N).Nkind = N_Selected_Component);
275 (N : Node_Id) return Node_Id is
278 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
282 function Attribute_Name
283 (N : Node_Id) return Name_Id is
286 or else NT (N).Nkind = N_Attribute_Reference);
290 function Aux_Decls_Node
291 (N : Node_Id) return Node_Id is
294 or else NT (N).Nkind = N_Compilation_Unit);
298 function Backwards_OK
299 (N : Node_Id) return Boolean is
302 or else NT (N).Nkind = N_Assignment_Statement);
306 function Bad_Is_Detected
307 (N : Node_Id) return Boolean is
310 or else NT (N).Nkind = N_Subprogram_Body);
314 function Body_Required
315 (N : Node_Id) return Boolean is
318 or else NT (N).Nkind = N_Compilation_Unit);
322 function Body_To_Inline
323 (N : Node_Id) return Node_Id is
326 or else NT (N).Nkind = N_Subprogram_Declaration);
331 (N : Node_Id) return Boolean is
334 or else NT (N).Nkind = N_Component_Association
335 or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
336 or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
337 or else NT (N).Nkind = N_Formal_Package_Declaration
338 or else NT (N).Nkind = N_Generic_Association);
343 (N : Node_Id) return Boolean is
346 or else NT (N).Nkind = N_Extended_Return_Statement
347 or else NT (N).Nkind = N_Return_Statement);
351 function Char_Literal_Value
352 (N : Node_Id) return Uint is
355 or else NT (N).Nkind = N_Character_Literal);
357 end Char_Literal_Value;
360 (N : Node_Id) return Name_Id is
363 or else NT (N).Nkind in N_Has_Chars);
367 function Check_Address_Alignment
368 (N : Node_Id) return Boolean is
371 or else NT (N).Nkind = N_Attribute_Definition_Clause);
373 end Check_Address_Alignment;
375 function Choice_Parameter
376 (N : Node_Id) return Node_Id is
379 or else NT (N).Nkind = N_Exception_Handler);
381 end Choice_Parameter;
384 (N : Node_Id) return List_Id is
387 or else NT (N).Nkind = N_Component_Association);
391 function Coextensions
392 (N : Node_Id) return Elist_Id is
395 or else NT (N).Nkind = N_Allocator);
399 function Comes_From_Extended_Return_Statement
400 (N : Node_Id) return Boolean is
403 or else NT (N).Nkind = N_Return_Statement);
405 end Comes_From_Extended_Return_Statement;
407 function Compile_Time_Known_Aggregate
408 (N : Node_Id) return Boolean is
411 or else NT (N).Nkind = N_Aggregate);
413 end Compile_Time_Known_Aggregate;
415 function Component_Associations
416 (N : Node_Id) return List_Id is
419 or else NT (N).Nkind = N_Aggregate
420 or else NT (N).Nkind = N_Extension_Aggregate);
422 end Component_Associations;
424 function Component_Clauses
425 (N : Node_Id) return List_Id is
428 or else NT (N).Nkind = N_Record_Representation_Clause);
430 end Component_Clauses;
432 function Component_Definition
433 (N : Node_Id) return Node_Id is
436 or else NT (N).Nkind = N_Component_Declaration
437 or else NT (N).Nkind = N_Constrained_Array_Definition
438 or else NT (N).Nkind = N_Unconstrained_Array_Definition);
440 end Component_Definition;
442 function Component_Items
443 (N : Node_Id) return List_Id is
446 or else NT (N).Nkind = N_Component_List);
450 function Component_List
451 (N : Node_Id) return Node_Id is
454 or else NT (N).Nkind = N_Record_Definition
455 or else NT (N).Nkind = N_Variant);
459 function Component_Name
460 (N : Node_Id) return Node_Id is
463 or else NT (N).Nkind = N_Component_Clause);
467 function Componentwise_Assignment
468 (N : Node_Id) return Boolean is
471 or else NT (N).Nkind = N_Assignment_Statement);
473 end Componentwise_Assignment;
476 (N : Node_Id) return Node_Id is
479 or else NT (N).Nkind = N_Accept_Alternative
480 or else NT (N).Nkind = N_Delay_Alternative
481 or else NT (N).Nkind = N_Elsif_Part
482 or else NT (N).Nkind = N_Entry_Body_Formal_Part
483 or else NT (N).Nkind = N_Exit_Statement
484 or else NT (N).Nkind = N_If_Statement
485 or else NT (N).Nkind = N_Iteration_Scheme
486 or else NT (N).Nkind = N_Raise_Constraint_Error
487 or else NT (N).Nkind = N_Raise_Program_Error
488 or else NT (N).Nkind = N_Raise_Storage_Error
489 or else NT (N).Nkind = N_Terminate_Alternative);
493 function Condition_Actions
494 (N : Node_Id) return List_Id is
497 or else NT (N).Nkind = N_Elsif_Part
498 or else NT (N).Nkind = N_Iteration_Scheme);
500 end Condition_Actions;
502 function Config_Pragmas
503 (N : Node_Id) return List_Id is
506 or else NT (N).Nkind = N_Compilation_Unit_Aux);
510 function Constant_Present
511 (N : Node_Id) return Boolean is
514 or else NT (N).Nkind = N_Access_Definition
515 or else NT (N).Nkind = N_Access_To_Object_Definition
516 or else NT (N).Nkind = N_Object_Declaration);
518 end Constant_Present;
521 (N : Node_Id) return Node_Id is
524 or else NT (N).Nkind = N_Subtype_Indication);
529 (N : Node_Id) return List_Id is
532 or else NT (N).Nkind = N_Index_Or_Discriminant_Constraint);
536 function Context_Installed
537 (N : Node_Id) return Boolean is
540 or else NT (N).Nkind = N_With_Clause);
542 end Context_Installed;
544 function Context_Items
545 (N : Node_Id) return List_Id is
548 or else NT (N).Nkind = N_Compilation_Unit);
552 function Context_Pending
553 (N : Node_Id) return Boolean is
556 or else NT (N).Nkind = N_Compilation_Unit);
560 function Controlling_Argument
561 (N : Node_Id) return Node_Id is
564 or else NT (N).Nkind = N_Function_Call
565 or else NT (N).Nkind = N_Procedure_Call_Statement);
567 end Controlling_Argument;
569 function Conversion_OK
570 (N : Node_Id) return Boolean is
573 or else NT (N).Nkind = N_Type_Conversion);
577 function Corresponding_Body
578 (N : Node_Id) return Node_Id is
581 or else NT (N).Nkind = N_Entry_Declaration
582 or else NT (N).Nkind = N_Generic_Package_Declaration
583 or else NT (N).Nkind = N_Generic_Subprogram_Declaration
584 or else NT (N).Nkind = N_Package_Body_Stub
585 or else NT (N).Nkind = N_Package_Declaration
586 or else NT (N).Nkind = N_Protected_Body_Stub
587 or else NT (N).Nkind = N_Protected_Type_Declaration
588 or else NT (N).Nkind = N_Subprogram_Body_Stub
589 or else NT (N).Nkind = N_Subprogram_Declaration
590 or else NT (N).Nkind = N_Task_Body_Stub
591 or else NT (N).Nkind = N_Task_Type_Declaration);
593 end Corresponding_Body;
595 function Corresponding_Formal_Spec
596 (N : Node_Id) return Node_Id is
599 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
601 end Corresponding_Formal_Spec;
603 function Corresponding_Generic_Association
604 (N : Node_Id) return Node_Id is
607 or else NT (N).Nkind = N_Object_Declaration
608 or else NT (N).Nkind = N_Object_Renaming_Declaration);
610 end Corresponding_Generic_Association;
612 function Corresponding_Integer_Value
613 (N : Node_Id) return Uint is
616 or else NT (N).Nkind = N_Real_Literal);
618 end Corresponding_Integer_Value;
620 function Corresponding_Spec
621 (N : Node_Id) return Node_Id is
624 or else NT (N).Nkind = N_Package_Body
625 or else NT (N).Nkind = N_Protected_Body
626 or else NT (N).Nkind = N_Subprogram_Body
627 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
628 or else NT (N).Nkind = N_Task_Body
629 or else NT (N).Nkind = N_With_Clause);
631 end Corresponding_Spec;
633 function Corresponding_Stub
634 (N : Node_Id) return Node_Id is
637 or else NT (N).Nkind = N_Subunit);
639 end Corresponding_Stub;
641 function Dcheck_Function
642 (N : Node_Id) return Entity_Id is
645 or else NT (N).Nkind = N_Variant);
649 function Debug_Statement
650 (N : Node_Id) return Node_Id is
653 or else NT (N).Nkind = N_Pragma);
657 function Declarations
658 (N : Node_Id) return List_Id is
661 or else NT (N).Nkind = N_Accept_Statement
662 or else NT (N).Nkind = N_Block_Statement
663 or else NT (N).Nkind = N_Compilation_Unit_Aux
664 or else NT (N).Nkind = N_Entry_Body
665 or else NT (N).Nkind = N_Package_Body
666 or else NT (N).Nkind = N_Protected_Body
667 or else NT (N).Nkind = N_Subprogram_Body
668 or else NT (N).Nkind = N_Task_Body);
672 function Default_Expression
673 (N : Node_Id) return Node_Id is
676 or else NT (N).Nkind = N_Formal_Object_Declaration
677 or else NT (N).Nkind = N_Parameter_Specification);
679 end Default_Expression;
681 function Default_Name
682 (N : Node_Id) return Node_Id is
685 or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
686 or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration);
690 function Defining_Identifier
691 (N : Node_Id) return Entity_Id is
694 or else NT (N).Nkind = N_Component_Declaration
695 or else NT (N).Nkind = N_Defining_Program_Unit_Name
696 or else NT (N).Nkind = N_Discriminant_Specification
697 or else NT (N).Nkind = N_Entry_Body
698 or else NT (N).Nkind = N_Entry_Declaration
699 or else NT (N).Nkind = N_Entry_Index_Specification
700 or else NT (N).Nkind = N_Exception_Declaration
701 or else NT (N).Nkind = N_Exception_Renaming_Declaration
702 or else NT (N).Nkind = N_Formal_Object_Declaration
703 or else NT (N).Nkind = N_Formal_Package_Declaration
704 or else NT (N).Nkind = N_Formal_Type_Declaration
705 or else NT (N).Nkind = N_Full_Type_Declaration
706 or else NT (N).Nkind = N_Implicit_Label_Declaration
707 or else NT (N).Nkind = N_Incomplete_Type_Declaration
708 or else NT (N).Nkind = N_Loop_Parameter_Specification
709 or else NT (N).Nkind = N_Number_Declaration
710 or else NT (N).Nkind = N_Object_Declaration
711 or else NT (N).Nkind = N_Object_Renaming_Declaration
712 or else NT (N).Nkind = N_Package_Body_Stub
713 or else NT (N).Nkind = N_Parameter_Specification
714 or else NT (N).Nkind = N_Private_Extension_Declaration
715 or else NT (N).Nkind = N_Private_Type_Declaration
716 or else NT (N).Nkind = N_Protected_Body
717 or else NT (N).Nkind = N_Protected_Body_Stub
718 or else NT (N).Nkind = N_Protected_Type_Declaration
719 or else NT (N).Nkind = N_Single_Protected_Declaration
720 or else NT (N).Nkind = N_Single_Task_Declaration
721 or else NT (N).Nkind = N_Subtype_Declaration
722 or else NT (N).Nkind = N_Task_Body
723 or else NT (N).Nkind = N_Task_Body_Stub
724 or else NT (N).Nkind = N_Task_Type_Declaration);
726 end Defining_Identifier;
728 function Defining_Unit_Name
729 (N : Node_Id) return Node_Id is
732 or else NT (N).Nkind = N_Function_Instantiation
733 or else NT (N).Nkind = N_Function_Specification
734 or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
735 or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
736 or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
737 or else NT (N).Nkind = N_Package_Body
738 or else NT (N).Nkind = N_Package_Instantiation
739 or else NT (N).Nkind = N_Package_Renaming_Declaration
740 or else NT (N).Nkind = N_Package_Specification
741 or else NT (N).Nkind = N_Procedure_Instantiation
742 or else NT (N).Nkind = N_Procedure_Specification);
744 end Defining_Unit_Name;
746 function Delay_Alternative
747 (N : Node_Id) return Node_Id is
750 or else NT (N).Nkind = N_Timed_Entry_Call);
752 end Delay_Alternative;
754 function Delay_Statement
755 (N : Node_Id) return Node_Id is
758 or else NT (N).Nkind = N_Delay_Alternative);
762 function Delta_Expression
763 (N : Node_Id) return Node_Id is
766 or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
767 or else NT (N).Nkind = N_Delta_Constraint
768 or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
770 end Delta_Expression;
772 function Digits_Expression
773 (N : Node_Id) return Node_Id is
776 or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
777 or else NT (N).Nkind = N_Digits_Constraint
778 or else NT (N).Nkind = N_Floating_Point_Definition);
780 end Digits_Expression;
782 function Discr_Check_Funcs_Built
783 (N : Node_Id) return Boolean is
786 or else NT (N).Nkind = N_Full_Type_Declaration);
788 end Discr_Check_Funcs_Built;
790 function Discrete_Choices
791 (N : Node_Id) return List_Id is
794 or else NT (N).Nkind = N_Case_Statement_Alternative
795 or else NT (N).Nkind = N_Variant);
797 end Discrete_Choices;
799 function Discrete_Range
800 (N : Node_Id) return Node_Id is
803 or else NT (N).Nkind = N_Slice);
807 function Discrete_Subtype_Definition
808 (N : Node_Id) return Node_Id is
811 or else NT (N).Nkind = N_Entry_Declaration
812 or else NT (N).Nkind = N_Entry_Index_Specification
813 or else NT (N).Nkind = N_Loop_Parameter_Specification);
815 end Discrete_Subtype_Definition;
817 function Discrete_Subtype_Definitions
818 (N : Node_Id) return List_Id is
821 or else NT (N).Nkind = N_Constrained_Array_Definition);
823 end Discrete_Subtype_Definitions;
825 function Discriminant_Specifications
826 (N : Node_Id) return List_Id is
829 or else NT (N).Nkind = N_Formal_Type_Declaration
830 or else NT (N).Nkind = N_Full_Type_Declaration
831 or else NT (N).Nkind = N_Incomplete_Type_Declaration
832 or else NT (N).Nkind = N_Private_Extension_Declaration
833 or else NT (N).Nkind = N_Private_Type_Declaration
834 or else NT (N).Nkind = N_Protected_Type_Declaration
835 or else NT (N).Nkind = N_Task_Type_Declaration);
837 end Discriminant_Specifications;
839 function Discriminant_Type
840 (N : Node_Id) return Node_Id is
843 or else NT (N).Nkind = N_Discriminant_Specification);
845 end Discriminant_Type;
847 function Do_Accessibility_Check
848 (N : Node_Id) return Boolean is
851 or else NT (N).Nkind = N_Parameter_Specification);
853 end Do_Accessibility_Check;
855 function Do_Discriminant_Check
856 (N : Node_Id) return Boolean is
859 or else NT (N).Nkind = N_Selected_Component);
861 end Do_Discriminant_Check;
863 function Do_Division_Check
864 (N : Node_Id) return Boolean is
867 or else NT (N).Nkind = N_Op_Divide
868 or else NT (N).Nkind = N_Op_Mod
869 or else NT (N).Nkind = N_Op_Rem);
871 end Do_Division_Check;
873 function Do_Length_Check
874 (N : Node_Id) return Boolean is
877 or else NT (N).Nkind = N_Assignment_Statement
878 or else NT (N).Nkind = N_Op_And
879 or else NT (N).Nkind = N_Op_Or
880 or else NT (N).Nkind = N_Op_Xor
881 or else NT (N).Nkind = N_Type_Conversion);
885 function Do_Overflow_Check
886 (N : Node_Id) return Boolean is
889 or else NT (N).Nkind in N_Op
890 or else NT (N).Nkind = N_Attribute_Reference
891 or else NT (N).Nkind = N_Type_Conversion);
893 end Do_Overflow_Check;
895 function Do_Range_Check
896 (N : Node_Id) return Boolean is
899 or else NT (N).Nkind in N_Subexpr);
903 function Do_Storage_Check
904 (N : Node_Id) return Boolean is
907 or else NT (N).Nkind = N_Allocator
908 or else NT (N).Nkind = N_Subprogram_Body);
910 end Do_Storage_Check;
912 function Do_Tag_Check
913 (N : Node_Id) return Boolean is
916 or else NT (N).Nkind = N_Assignment_Statement
917 or else NT (N).Nkind = N_Extended_Return_Statement
918 or else NT (N).Nkind = N_Function_Call
919 or else NT (N).Nkind = N_Procedure_Call_Statement
920 or else NT (N).Nkind = N_Return_Statement
921 or else NT (N).Nkind = N_Type_Conversion);
925 function Elaborate_All_Desirable
926 (N : Node_Id) return Boolean is
929 or else NT (N).Nkind = N_With_Clause);
931 end Elaborate_All_Desirable;
933 function Elaborate_All_Present
934 (N : Node_Id) return Boolean is
937 or else NT (N).Nkind = N_With_Clause);
939 end Elaborate_All_Present;
941 function Elaborate_Desirable
942 (N : Node_Id) return Boolean is
945 or else NT (N).Nkind = N_With_Clause);
947 end Elaborate_Desirable;
949 function Elaborate_Present
950 (N : Node_Id) return Boolean is
953 or else NT (N).Nkind = N_With_Clause);
955 end Elaborate_Present;
957 function Elaboration_Boolean
958 (N : Node_Id) return Node_Id is
961 or else NT (N).Nkind = N_Function_Specification
962 or else NT (N).Nkind = N_Procedure_Specification);
964 end Elaboration_Boolean;
966 function Else_Actions
967 (N : Node_Id) return List_Id is
970 or else NT (N).Nkind = N_Conditional_Expression);
974 function Else_Statements
975 (N : Node_Id) return List_Id is
978 or else NT (N).Nkind = N_Conditional_Entry_Call
979 or else NT (N).Nkind = N_If_Statement
980 or else NT (N).Nkind = N_Selective_Accept);
985 (N : Node_Id) return List_Id is
988 or else NT (N).Nkind = N_If_Statement);
992 function Enclosing_Variant
993 (N : Node_Id) return Node_Id is
996 or else NT (N).Nkind = N_Variant);
998 end Enclosing_Variant;
1001 (N : Node_Id) return Node_Id is
1003 pragma Assert (False
1004 or else NT (N).Nkind = N_Enumeration_Type_Definition
1005 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
1006 or else NT (N).Nkind = N_Loop_Statement
1007 or else NT (N).Nkind = N_Package_Specification
1008 or else NT (N).Nkind = N_Protected_Body
1009 or else NT (N).Nkind = N_Protected_Definition
1010 or else NT (N).Nkind = N_Record_Definition
1011 or else NT (N).Nkind = N_Task_Definition);
1016 (N : Node_Id) return Uint is
1018 pragma Assert (False
1019 or else NT (N).Nkind = N_Case_Statement
1020 or else NT (N).Nkind = N_If_Statement);
1025 (N : Node_Id) return Node_Id is
1027 pragma Assert (False
1028 or else NT (N).Nkind in N_Has_Entity
1029 or else NT (N).Nkind = N_Freeze_Entity
1030 or else NT (N).Nkind = N_Attribute_Definition_Clause);
1034 function Entity_Or_Associated_Node
1035 (N : Node_Id) return Node_Id is
1037 pragma Assert (False
1038 or else NT (N).Nkind in N_Has_Entity
1039 or else NT (N).Nkind = N_Freeze_Entity);
1041 end Entity_Or_Associated_Node;
1043 function Entry_Body_Formal_Part
1044 (N : Node_Id) return Node_Id is
1046 pragma Assert (False
1047 or else NT (N).Nkind = N_Entry_Body);
1049 end Entry_Body_Formal_Part;
1051 function Entry_Call_Alternative
1052 (N : Node_Id) return Node_Id is
1054 pragma Assert (False
1055 or else NT (N).Nkind = N_Conditional_Entry_Call
1056 or else NT (N).Nkind = N_Timed_Entry_Call);
1058 end Entry_Call_Alternative;
1060 function Entry_Call_Statement
1061 (N : Node_Id) return Node_Id is
1063 pragma Assert (False
1064 or else NT (N).Nkind = N_Entry_Call_Alternative);
1066 end Entry_Call_Statement;
1068 function Entry_Direct_Name
1069 (N : Node_Id) return Node_Id is
1071 pragma Assert (False
1072 or else NT (N).Nkind = N_Accept_Statement);
1074 end Entry_Direct_Name;
1076 function Entry_Index
1077 (N : Node_Id) return Node_Id is
1079 pragma Assert (False
1080 or else NT (N).Nkind = N_Accept_Statement);
1084 function Entry_Index_Specification
1085 (N : Node_Id) return Node_Id is
1087 pragma Assert (False
1088 or else NT (N).Nkind = N_Entry_Body_Formal_Part);
1090 end Entry_Index_Specification;
1093 (N : Node_Id) return Node_Id is
1095 pragma Assert (False
1096 or else NT (N).Nkind in N_Has_Etype);
1100 function Exception_Choices
1101 (N : Node_Id) return List_Id is
1103 pragma Assert (False
1104 or else NT (N).Nkind = N_Exception_Handler);
1106 end Exception_Choices;
1108 function Exception_Handlers
1109 (N : Node_Id) return List_Id is
1111 pragma Assert (False
1112 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
1114 end Exception_Handlers;
1116 function Exception_Junk
1117 (N : Node_Id) return Boolean is
1119 pragma Assert (False
1120 or else NT (N).Nkind = N_Block_Statement
1121 or else NT (N).Nkind = N_Goto_Statement
1122 or else NT (N).Nkind = N_Label
1123 or else NT (N).Nkind = N_Object_Declaration
1124 or else NT (N).Nkind = N_Subtype_Declaration);
1128 function Exception_Label
1129 (N : Node_Id) return Node_Id is
1131 pragma Assert (False
1132 or else NT (N).Nkind = N_Exception_Handler
1133 or else NT (N).Nkind = N_Push_Constraint_Error_Label
1134 or else NT (N).Nkind = N_Push_Program_Error_Label
1135 or else NT (N).Nkind = N_Push_Storage_Error_Label);
1137 end Exception_Label;
1139 function Expansion_Delayed
1140 (N : Node_Id) return Boolean is
1142 pragma Assert (False
1143 or else NT (N).Nkind = N_Aggregate
1144 or else NT (N).Nkind = N_Extension_Aggregate);
1146 end Expansion_Delayed;
1148 function Explicit_Actual_Parameter
1149 (N : Node_Id) return Node_Id is
1151 pragma Assert (False
1152 or else NT (N).Nkind = N_Parameter_Association);
1154 end Explicit_Actual_Parameter;
1156 function Explicit_Generic_Actual_Parameter
1157 (N : Node_Id) return Node_Id is
1159 pragma Assert (False
1160 or else NT (N).Nkind = N_Generic_Association);
1162 end Explicit_Generic_Actual_Parameter;
1165 (N : Node_Id) return Node_Id is
1167 pragma Assert (False
1168 or else NT (N).Nkind = N_Allocator
1169 or else NT (N).Nkind = N_Assignment_Statement
1170 or else NT (N).Nkind = N_At_Clause
1171 or else NT (N).Nkind = N_Attribute_Definition_Clause
1172 or else NT (N).Nkind = N_Case_Statement
1173 or else NT (N).Nkind = N_Code_Statement
1174 or else NT (N).Nkind = N_Component_Association
1175 or else NT (N).Nkind = N_Component_Declaration
1176 or else NT (N).Nkind = N_Delay_Relative_Statement
1177 or else NT (N).Nkind = N_Delay_Until_Statement
1178 or else NT (N).Nkind = N_Discriminant_Association
1179 or else NT (N).Nkind = N_Discriminant_Specification
1180 or else NT (N).Nkind = N_Exception_Declaration
1181 or else NT (N).Nkind = N_Free_Statement
1182 or else NT (N).Nkind = N_Mod_Clause
1183 or else NT (N).Nkind = N_Modular_Type_Definition
1184 or else NT (N).Nkind = N_Number_Declaration
1185 or else NT (N).Nkind = N_Object_Declaration
1186 or else NT (N).Nkind = N_Parameter_Specification
1187 or else NT (N).Nkind = N_Pragma_Argument_Association
1188 or else NT (N).Nkind = N_Qualified_Expression
1189 or else NT (N).Nkind = N_Raise_Statement
1190 or else NT (N).Nkind = N_Return_Statement
1191 or else NT (N).Nkind = N_Type_Conversion
1192 or else NT (N).Nkind = N_Unchecked_Expression
1193 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
1197 function Expressions
1198 (N : Node_Id) return List_Id is
1200 pragma Assert (False
1201 or else NT (N).Nkind = N_Aggregate
1202 or else NT (N).Nkind = N_Attribute_Reference
1203 or else NT (N).Nkind = N_Conditional_Expression
1204 or else NT (N).Nkind = N_Extension_Aggregate
1205 or else NT (N).Nkind = N_Indexed_Component);
1210 (N : Node_Id) return Node_Id is
1212 pragma Assert (False
1213 or else NT (N).Nkind = N_Component_Clause);
1217 function First_Inlined_Subprogram
1218 (N : Node_Id) return Entity_Id is
1220 pragma Assert (False
1221 or else NT (N).Nkind = N_Compilation_Unit);
1223 end First_Inlined_Subprogram;
1226 (N : Node_Id) return Boolean is
1228 pragma Assert (False
1229 or else NT (N).Nkind = N_With_Clause);
1233 function First_Named_Actual
1234 (N : Node_Id) return Node_Id is
1236 pragma Assert (False
1237 or else NT (N).Nkind = N_Entry_Call_Statement
1238 or else NT (N).Nkind = N_Function_Call
1239 or else NT (N).Nkind = N_Procedure_Call_Statement);
1241 end First_Named_Actual;
1243 function First_Real_Statement
1244 (N : Node_Id) return Node_Id is
1246 pragma Assert (False
1247 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
1249 end First_Real_Statement;
1251 function First_Subtype_Link
1252 (N : Node_Id) return Entity_Id is
1254 pragma Assert (False
1255 or else NT (N).Nkind = N_Freeze_Entity);
1257 end First_Subtype_Link;
1259 function Float_Truncate
1260 (N : Node_Id) return Boolean is
1262 pragma Assert (False
1263 or else NT (N).Nkind = N_Type_Conversion);
1267 function Formal_Type_Definition
1268 (N : Node_Id) return Node_Id is
1270 pragma Assert (False
1271 or else NT (N).Nkind = N_Formal_Type_Declaration);
1273 end Formal_Type_Definition;
1275 function Forwards_OK
1276 (N : Node_Id) return Boolean is
1278 pragma Assert (False
1279 or else NT (N).Nkind = N_Assignment_Statement);
1283 function From_At_End
1284 (N : Node_Id) return Boolean is
1286 pragma Assert (False
1287 or else NT (N).Nkind = N_Raise_Statement);
1291 function From_At_Mod
1292 (N : Node_Id) return Boolean is
1294 pragma Assert (False
1295 or else NT (N).Nkind = N_Attribute_Definition_Clause);
1299 function From_Default
1300 (N : Node_Id) return Boolean is
1302 pragma Assert (False
1303 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
1307 function Generic_Associations
1308 (N : Node_Id) return List_Id is
1310 pragma Assert (False
1311 or else NT (N).Nkind = N_Formal_Package_Declaration
1312 or else NT (N).Nkind = N_Function_Instantiation
1313 or else NT (N).Nkind = N_Package_Instantiation
1314 or else NT (N).Nkind = N_Procedure_Instantiation);
1316 end Generic_Associations;
1318 function Generic_Formal_Declarations
1319 (N : Node_Id) return List_Id is
1321 pragma Assert (False
1322 or else NT (N).Nkind = N_Generic_Package_Declaration
1323 or else NT (N).Nkind = N_Generic_Subprogram_Declaration);
1325 end Generic_Formal_Declarations;
1327 function Generic_Parent
1328 (N : Node_Id) return Node_Id is
1330 pragma Assert (False
1331 or else NT (N).Nkind = N_Function_Specification
1332 or else NT (N).Nkind = N_Package_Specification
1333 or else NT (N).Nkind = N_Procedure_Specification);
1337 function Generic_Parent_Type
1338 (N : Node_Id) return Node_Id is
1340 pragma Assert (False
1341 or else NT (N).Nkind = N_Subtype_Declaration);
1343 end Generic_Parent_Type;
1345 function Handled_Statement_Sequence
1346 (N : Node_Id) return Node_Id is
1348 pragma Assert (False
1349 or else NT (N).Nkind = N_Accept_Statement
1350 or else NT (N).Nkind = N_Block_Statement
1351 or else NT (N).Nkind = N_Entry_Body
1352 or else NT (N).Nkind = N_Extended_Return_Statement
1353 or else NT (N).Nkind = N_Package_Body
1354 or else NT (N).Nkind = N_Subprogram_Body
1355 or else NT (N).Nkind = N_Task_Body);
1357 end Handled_Statement_Sequence;
1359 function Handler_List_Entry
1360 (N : Node_Id) return Node_Id is
1362 pragma Assert (False
1363 or else NT (N).Nkind = N_Object_Declaration);
1365 end Handler_List_Entry;
1367 function Has_Created_Identifier
1368 (N : Node_Id) return Boolean is
1370 pragma Assert (False
1371 or else NT (N).Nkind = N_Block_Statement
1372 or else NT (N).Nkind = N_Loop_Statement);
1374 end Has_Created_Identifier;
1376 function Has_Dynamic_Length_Check
1377 (N : Node_Id) return Boolean is
1380 end Has_Dynamic_Length_Check;
1382 function Has_Dynamic_Range_Check
1383 (N : Node_Id) return Boolean is
1386 end Has_Dynamic_Range_Check;
1388 function Has_Init_Expression
1389 (N : Node_Id) return Boolean is
1391 pragma Assert (False
1392 or else NT (N).Nkind = N_Object_Declaration);
1394 end Has_Init_Expression;
1396 function Has_Local_Raise
1397 (N : Node_Id) return Boolean is
1399 pragma Assert (False
1400 or else NT (N).Nkind = N_Exception_Handler);
1402 end Has_Local_Raise;
1404 function Has_No_Elaboration_Code
1405 (N : Node_Id) return Boolean is
1407 pragma Assert (False
1408 or else NT (N).Nkind = N_Compilation_Unit);
1410 end Has_No_Elaboration_Code;
1412 function Has_Priority_Pragma
1413 (N : Node_Id) return Boolean is
1415 pragma Assert (False
1416 or else NT (N).Nkind = N_Protected_Definition
1417 or else NT (N).Nkind = N_Subprogram_Body
1418 or else NT (N).Nkind = N_Task_Definition);
1420 end Has_Priority_Pragma;
1422 function Has_Private_View
1423 (N : Node_Id) return Boolean is
1425 pragma Assert (False
1426 or else NT (N).Nkind in N_Op
1427 or else NT (N).Nkind = N_Character_Literal
1428 or else NT (N).Nkind = N_Expanded_Name
1429 or else NT (N).Nkind = N_Identifier
1430 or else NT (N).Nkind = N_Operator_Symbol);
1432 end Has_Private_View;
1434 function Has_Relative_Deadline_Pragma
1435 (N : Node_Id) return Boolean is
1437 pragma Assert (False
1438 or else NT (N).Nkind = N_Subprogram_Body
1439 or else NT (N).Nkind = N_Task_Definition);
1441 end Has_Relative_Deadline_Pragma;
1443 function Has_Self_Reference
1444 (N : Node_Id) return Boolean is
1446 pragma Assert (False
1447 or else NT (N).Nkind = N_Aggregate
1448 or else NT (N).Nkind = N_Extension_Aggregate);
1450 end Has_Self_Reference;
1452 function Has_Storage_Size_Pragma
1453 (N : Node_Id) return Boolean is
1455 pragma Assert (False
1456 or else NT (N).Nkind = N_Task_Definition);
1458 end Has_Storage_Size_Pragma;
1460 function Has_Task_Info_Pragma
1461 (N : Node_Id) return Boolean is
1463 pragma Assert (False
1464 or else NT (N).Nkind = N_Task_Definition);
1466 end Has_Task_Info_Pragma;
1468 function Has_Task_Name_Pragma
1469 (N : Node_Id) return Boolean is
1471 pragma Assert (False
1472 or else NT (N).Nkind = N_Task_Definition);
1474 end Has_Task_Name_Pragma;
1476 function Has_Wide_Character
1477 (N : Node_Id) return Boolean is
1479 pragma Assert (False
1480 or else NT (N).Nkind = N_String_Literal);
1482 end Has_Wide_Character;
1484 function Hidden_By_Use_Clause
1485 (N : Node_Id) return Elist_Id is
1487 pragma Assert (False
1488 or else NT (N).Nkind = N_Use_Package_Clause
1489 or else NT (N).Nkind = N_Use_Type_Clause);
1491 end Hidden_By_Use_Clause;
1494 (N : Node_Id) return Node_Id is
1496 pragma Assert (False
1497 or else NT (N).Nkind = N_Range
1498 or else NT (N).Nkind = N_Real_Range_Specification
1499 or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
1504 (N : Node_Id) return Node_Id is
1506 pragma Assert (False
1507 or else NT (N).Nkind = N_At_Clause
1508 or else NT (N).Nkind = N_Block_Statement
1509 or else NT (N).Nkind = N_Designator
1510 or else NT (N).Nkind = N_Enumeration_Representation_Clause
1511 or else NT (N).Nkind = N_Label
1512 or else NT (N).Nkind = N_Loop_Statement
1513 or else NT (N).Nkind = N_Record_Representation_Clause
1514 or else NT (N).Nkind = N_Subprogram_Info);
1518 function Implicit_With
1519 (N : Node_Id) return Boolean is
1521 pragma Assert (False
1522 or else NT (N).Nkind = N_With_Clause);
1526 function Interface_List
1527 (N : Node_Id) return List_Id is
1529 pragma Assert (False
1530 or else NT (N).Nkind = N_Derived_Type_Definition
1531 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
1532 or else NT (N).Nkind = N_Private_Extension_Declaration
1533 or else NT (N).Nkind = N_Protected_Type_Declaration
1534 or else NT (N).Nkind = N_Record_Definition
1535 or else NT (N).Nkind = N_Single_Protected_Declaration
1536 or else NT (N).Nkind = N_Single_Task_Declaration
1537 or else NT (N).Nkind = N_Task_Type_Declaration);
1541 function Interface_Present
1542 (N : Node_Id) return Boolean is
1544 pragma Assert (False
1545 or else NT (N).Nkind = N_Derived_Type_Definition
1546 or else NT (N).Nkind = N_Record_Definition);
1548 end Interface_Present;
1551 (N : Node_Id) return Boolean is
1553 pragma Assert (False
1554 or else NT (N).Nkind = N_Formal_Object_Declaration
1555 or else NT (N).Nkind = N_Parameter_Specification);
1559 function Includes_Infinities
1560 (N : Node_Id) return Boolean is
1562 pragma Assert (False
1563 or else NT (N).Nkind = N_Range);
1565 end Includes_Infinities;
1567 function Instance_Spec
1568 (N : Node_Id) return Node_Id is
1570 pragma Assert (False
1571 or else NT (N).Nkind = N_Formal_Package_Declaration
1572 or else NT (N).Nkind = N_Function_Instantiation
1573 or else NT (N).Nkind = N_Package_Instantiation
1574 or else NT (N).Nkind = N_Procedure_Instantiation);
1579 (N : Node_Id) return Uint is
1581 pragma Assert (False
1582 or else NT (N).Nkind = N_Integer_Literal);
1586 function Is_Accessibility_Actual
1587 (N : Node_Id) return Boolean is
1589 pragma Assert (False
1590 or else NT (N).Nkind = N_Parameter_Association);
1592 end Is_Accessibility_Actual;
1594 function Is_Asynchronous_Call_Block
1595 (N : Node_Id) return Boolean is
1597 pragma Assert (False
1598 or else NT (N).Nkind = N_Block_Statement);
1600 end Is_Asynchronous_Call_Block;
1602 function Is_Component_Left_Opnd
1603 (N : Node_Id) return Boolean is
1605 pragma Assert (False
1606 or else NT (N).Nkind = N_Op_Concat);
1608 end Is_Component_Left_Opnd;
1610 function Is_Component_Right_Opnd
1611 (N : Node_Id) return Boolean is
1613 pragma Assert (False
1614 or else NT (N).Nkind = N_Op_Concat);
1616 end Is_Component_Right_Opnd;
1618 function Is_Controlling_Actual
1619 (N : Node_Id) return Boolean is
1621 pragma Assert (False
1622 or else NT (N).Nkind in N_Subexpr);
1624 end Is_Controlling_Actual;
1626 function Is_Dynamic_Coextension
1627 (N : Node_Id) return Boolean is
1629 pragma Assert (False
1630 or else NT (N).Nkind = N_Allocator);
1632 end Is_Dynamic_Coextension;
1635 (N : Node_Id) return Boolean is
1637 pragma Assert (False
1638 or else NT (N).Nkind = N_Conditional_Expression);
1642 function Is_Entry_Barrier_Function
1643 (N : Node_Id) return Boolean is
1645 pragma Assert (False
1646 or else NT (N).Nkind = N_Subprogram_Body);
1648 end Is_Entry_Barrier_Function;
1650 function Is_Expanded_Build_In_Place_Call
1651 (N : Node_Id) return Boolean is
1653 pragma Assert (False
1654 or else NT (N).Nkind = N_Function_Call);
1656 end Is_Expanded_Build_In_Place_Call;
1658 function Is_Folded_In_Parser
1659 (N : Node_Id) return Boolean is
1661 pragma Assert (False
1662 or else NT (N).Nkind = N_String_Literal);
1664 end Is_Folded_In_Parser;
1666 function Is_In_Discriminant_Check
1667 (N : Node_Id) return Boolean is
1669 pragma Assert (False
1670 or else NT (N).Nkind = N_Selected_Component);
1672 end Is_In_Discriminant_Check;
1674 function Is_Machine_Number
1675 (N : Node_Id) return Boolean is
1677 pragma Assert (False
1678 or else NT (N).Nkind = N_Real_Literal);
1680 end Is_Machine_Number;
1682 function Is_Null_Loop
1683 (N : Node_Id) return Boolean is
1685 pragma Assert (False
1686 or else NT (N).Nkind = N_Loop_Statement);
1690 function Is_Overloaded
1691 (N : Node_Id) return Boolean is
1693 pragma Assert (False
1694 or else NT (N).Nkind in N_Subexpr);
1698 function Is_Power_Of_2_For_Shift
1699 (N : Node_Id) return Boolean is
1701 pragma Assert (False
1702 or else NT (N).Nkind = N_Op_Expon);
1704 end Is_Power_Of_2_For_Shift;
1706 function Is_Protected_Subprogram_Body
1707 (N : Node_Id) return Boolean is
1709 pragma Assert (False
1710 or else NT (N).Nkind = N_Subprogram_Body);
1712 end Is_Protected_Subprogram_Body;
1714 function Is_Static_Coextension
1715 (N : Node_Id) return Boolean is
1717 pragma Assert (False
1718 or else NT (N).Nkind = N_Allocator);
1720 end Is_Static_Coextension;
1722 function Is_Static_Expression
1723 (N : Node_Id) return Boolean is
1725 pragma Assert (False
1726 or else NT (N).Nkind in N_Subexpr);
1728 end Is_Static_Expression;
1730 function Is_Subprogram_Descriptor
1731 (N : Node_Id) return Boolean is
1733 pragma Assert (False
1734 or else NT (N).Nkind = N_Object_Declaration);
1736 end Is_Subprogram_Descriptor;
1738 function Is_Task_Allocation_Block
1739 (N : Node_Id) return Boolean is
1741 pragma Assert (False
1742 or else NT (N).Nkind = N_Block_Statement);
1744 end Is_Task_Allocation_Block;
1746 function Is_Task_Master
1747 (N : Node_Id) return Boolean is
1749 pragma Assert (False
1750 or else NT (N).Nkind = N_Block_Statement
1751 or else NT (N).Nkind = N_Subprogram_Body
1752 or else NT (N).Nkind = N_Task_Body);
1756 function Iteration_Scheme
1757 (N : Node_Id) return Node_Id is
1759 pragma Assert (False
1760 or else NT (N).Nkind = N_Loop_Statement);
1762 end Iteration_Scheme;
1765 (N : Node_Id) return Node_Id is
1767 pragma Assert (False
1768 or else NT (N).Nkind = N_Itype_Reference);
1772 function Kill_Range_Check
1773 (N : Node_Id) return Boolean is
1775 pragma Assert (False
1776 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
1778 end Kill_Range_Check;
1780 function Label_Construct
1781 (N : Node_Id) return Node_Id is
1783 pragma Assert (False
1784 or else NT (N).Nkind = N_Implicit_Label_Declaration);
1786 end Label_Construct;
1789 (N : Node_Id) return Node_Id is
1791 pragma Assert (False
1792 or else NT (N).Nkind = N_Component_Clause);
1797 (N : Node_Id) return Boolean is
1799 pragma Assert (False
1800 or else NT (N).Nkind = N_With_Clause);
1805 (N : Node_Id) return Node_Id is
1807 pragma Assert (False
1808 or else NT (N).Nkind = N_And_Then
1809 or else NT (N).Nkind = N_In
1810 or else NT (N).Nkind = N_Not_In
1811 or else NT (N).Nkind = N_Or_Else
1812 or else NT (N).Nkind in N_Binary_Op);
1816 function Library_Unit
1817 (N : Node_Id) return Node_Id is
1819 pragma Assert (False
1820 or else NT (N).Nkind = N_Compilation_Unit
1821 or else NT (N).Nkind = N_Package_Body_Stub
1822 or else NT (N).Nkind = N_Protected_Body_Stub
1823 or else NT (N).Nkind = N_Subprogram_Body_Stub
1824 or else NT (N).Nkind = N_Task_Body_Stub
1825 or else NT (N).Nkind = N_With_Clause);
1829 function Limited_View_Installed
1830 (N : Node_Id) return Boolean is
1832 pragma Assert (False
1833 or else NT (N).Nkind = N_Package_Specification
1834 or else NT (N).Nkind = N_With_Clause);
1836 end Limited_View_Installed;
1838 function Limited_Present
1839 (N : Node_Id) return Boolean is
1841 pragma Assert (False
1842 or else NT (N).Nkind = N_Derived_Type_Definition
1843 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
1844 or else NT (N).Nkind = N_Formal_Private_Type_Definition
1845 or else NT (N).Nkind = N_Private_Extension_Declaration
1846 or else NT (N).Nkind = N_Private_Type_Declaration
1847 or else NT (N).Nkind = N_Record_Definition
1848 or else NT (N).Nkind = N_With_Clause);
1850 end Limited_Present;
1853 (N : Node_Id) return List_Id is
1855 pragma Assert (False
1856 or else NT (N).Nkind = N_Enumeration_Type_Definition);
1860 function Local_Raise_Not_OK
1861 (N : Node_Id) return Boolean is
1863 pragma Assert (False
1864 or else NT (N).Nkind = N_Exception_Handler);
1866 end Local_Raise_Not_OK;
1868 function Local_Raise_Statements
1869 (N : Node_Id) return Elist_Id is
1871 pragma Assert (False
1872 or else NT (N).Nkind = N_Exception_Handler);
1874 end Local_Raise_Statements;
1876 function Loop_Actions
1877 (N : Node_Id) return List_Id is
1879 pragma Assert (False
1880 or else NT (N).Nkind = N_Component_Association);
1884 function Loop_Parameter_Specification
1885 (N : Node_Id) return Node_Id is
1887 pragma Assert (False
1888 or else NT (N).Nkind = N_Iteration_Scheme);
1890 end Loop_Parameter_Specification;
1893 (N : Node_Id) return Node_Id is
1895 pragma Assert (False
1896 or else NT (N).Nkind = N_Range
1897 or else NT (N).Nkind = N_Real_Range_Specification
1898 or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
1903 (N : Node_Id) return Node_Id is
1905 pragma Assert (False
1906 or else NT (N).Nkind = N_Record_Representation_Clause);
1911 (N : Node_Id) return Boolean is
1913 pragma Assert (False
1914 or else NT (N).Nkind = N_Component_Declaration
1915 or else NT (N).Nkind = N_Discriminant_Specification
1916 or else NT (N).Nkind = N_Exception_Declaration
1917 or else NT (N).Nkind = N_Formal_Object_Declaration
1918 or else NT (N).Nkind = N_Number_Declaration
1919 or else NT (N).Nkind = N_Object_Declaration
1920 or else NT (N).Nkind = N_Parameter_Specification);
1924 function Must_Be_Byte_Aligned
1925 (N : Node_Id) return Boolean is
1927 pragma Assert (False
1928 or else NT (N).Nkind = N_Attribute_Reference);
1930 end Must_Be_Byte_Aligned;
1932 function Must_Not_Freeze
1933 (N : Node_Id) return Boolean is
1935 pragma Assert (False
1936 or else NT (N).Nkind = N_Subtype_Indication
1937 or else NT (N).Nkind in N_Subexpr);
1939 end Must_Not_Freeze;
1941 function Must_Not_Override
1942 (N : Node_Id) return Boolean is
1944 pragma Assert (False
1945 or else NT (N).Nkind = N_Entry_Declaration
1946 or else NT (N).Nkind = N_Function_Instantiation
1947 or else NT (N).Nkind = N_Function_Specification
1948 or else NT (N).Nkind = N_Procedure_Instantiation
1949 or else NT (N).Nkind = N_Procedure_Specification);
1951 end Must_Not_Override;
1953 function Must_Override
1954 (N : Node_Id) return Boolean is
1956 pragma Assert (False
1957 or else NT (N).Nkind = N_Entry_Declaration
1958 or else NT (N).Nkind = N_Function_Instantiation
1959 or else NT (N).Nkind = N_Function_Specification
1960 or else NT (N).Nkind = N_Procedure_Instantiation
1961 or else NT (N).Nkind = N_Procedure_Specification);
1966 (N : Node_Id) return Node_Id is
1968 pragma Assert (False
1969 or else NT (N).Nkind = N_Assignment_Statement
1970 or else NT (N).Nkind = N_Attribute_Definition_Clause
1971 or else NT (N).Nkind = N_Defining_Program_Unit_Name
1972 or else NT (N).Nkind = N_Designator
1973 or else NT (N).Nkind = N_Entry_Call_Statement
1974 or else NT (N).Nkind = N_Exception_Renaming_Declaration
1975 or else NT (N).Nkind = N_Exit_Statement
1976 or else NT (N).Nkind = N_Formal_Package_Declaration
1977 or else NT (N).Nkind = N_Function_Call
1978 or else NT (N).Nkind = N_Function_Instantiation
1979 or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
1980 or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
1981 or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
1982 or else NT (N).Nkind = N_Goto_Statement
1983 or else NT (N).Nkind = N_Object_Renaming_Declaration
1984 or else NT (N).Nkind = N_Package_Instantiation
1985 or else NT (N).Nkind = N_Package_Renaming_Declaration
1986 or else NT (N).Nkind = N_Procedure_Call_Statement
1987 or else NT (N).Nkind = N_Procedure_Instantiation
1988 or else NT (N).Nkind = N_Raise_Statement
1989 or else NT (N).Nkind = N_Requeue_Statement
1990 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
1991 or else NT (N).Nkind = N_Subunit
1992 or else NT (N).Nkind = N_Variant_Part
1993 or else NT (N).Nkind = N_With_Clause);
1998 (N : Node_Id) return List_Id is
2000 pragma Assert (False
2001 or else NT (N).Nkind = N_Abort_Statement
2002 or else NT (N).Nkind = N_Use_Package_Clause);
2006 function Next_Entity
2007 (N : Node_Id) return Node_Id is
2009 pragma Assert (False
2010 or else NT (N).Nkind = N_Defining_Character_Literal
2011 or else NT (N).Nkind = N_Defining_Identifier
2012 or else NT (N).Nkind = N_Defining_Operator_Symbol);
2016 function Next_Implicit_With
2017 (N : Node_Id) return Node_Id is
2019 pragma Assert (False
2020 or else NT (N).Nkind = N_With_Clause);
2022 end Next_Implicit_With;
2024 function Next_Named_Actual
2025 (N : Node_Id) return Node_Id is
2027 pragma Assert (False
2028 or else NT (N).Nkind = N_Parameter_Association);
2030 end Next_Named_Actual;
2032 function Next_Pragma
2033 (N : Node_Id) return Node_Id is
2035 pragma Assert (False
2036 or else NT (N).Nkind = N_Pragma);
2040 function Next_Rep_Item
2041 (N : Node_Id) return Node_Id is
2043 pragma Assert (False
2044 or else NT (N).Nkind = N_Attribute_Definition_Clause
2045 or else NT (N).Nkind = N_Enumeration_Representation_Clause
2046 or else NT (N).Nkind = N_Pragma
2047 or else NT (N).Nkind = N_Record_Representation_Clause);
2051 function Next_Use_Clause
2052 (N : Node_Id) return Node_Id is
2054 pragma Assert (False
2055 or else NT (N).Nkind = N_Use_Package_Clause
2056 or else NT (N).Nkind = N_Use_Type_Clause);
2058 end Next_Use_Clause;
2060 function No_Ctrl_Actions
2061 (N : Node_Id) return Boolean is
2063 pragma Assert (False
2064 or else NT (N).Nkind = N_Assignment_Statement);
2066 end No_Ctrl_Actions;
2068 function No_Elaboration_Check
2069 (N : Node_Id) return Boolean is
2071 pragma Assert (False
2072 or else NT (N).Nkind = N_Function_Call
2073 or else NT (N).Nkind = N_Procedure_Call_Statement);
2075 end No_Elaboration_Check;
2077 function No_Entities_Ref_In_Spec
2078 (N : Node_Id) return Boolean is
2080 pragma Assert (False
2081 or else NT (N).Nkind = N_With_Clause);
2083 end No_Entities_Ref_In_Spec;
2085 function No_Initialization
2086 (N : Node_Id) return Boolean is
2088 pragma Assert (False
2089 or else NT (N).Nkind = N_Allocator
2090 or else NT (N).Nkind = N_Object_Declaration);
2092 end No_Initialization;
2094 function No_Truncation
2095 (N : Node_Id) return Boolean is
2097 pragma Assert (False
2098 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
2102 function Null_Present
2103 (N : Node_Id) return Boolean is
2105 pragma Assert (False
2106 or else NT (N).Nkind = N_Component_List
2107 or else NT (N).Nkind = N_Procedure_Specification
2108 or else NT (N).Nkind = N_Record_Definition);
2112 function Null_Exclusion_Present
2113 (N : Node_Id) return Boolean is
2115 pragma Assert (False
2116 or else NT (N).Nkind = N_Access_Definition
2117 or else NT (N).Nkind = N_Access_Function_Definition
2118 or else NT (N).Nkind = N_Access_Procedure_Definition
2119 or else NT (N).Nkind = N_Access_To_Object_Definition
2120 or else NT (N).Nkind = N_Allocator
2121 or else NT (N).Nkind = N_Component_Definition
2122 or else NT (N).Nkind = N_Derived_Type_Definition
2123 or else NT (N).Nkind = N_Discriminant_Specification
2124 or else NT (N).Nkind = N_Formal_Object_Declaration
2125 or else NT (N).Nkind = N_Function_Specification
2126 or else NT (N).Nkind = N_Object_Declaration
2127 or else NT (N).Nkind = N_Object_Renaming_Declaration
2128 or else NT (N).Nkind = N_Parameter_Specification
2129 or else NT (N).Nkind = N_Subtype_Declaration);
2131 end Null_Exclusion_Present;
2133 function Null_Exclusion_In_Return_Present
2134 (N : Node_Id) return Boolean is
2136 pragma Assert (False
2137 or else NT (N).Nkind = N_Access_Function_Definition);
2139 end Null_Exclusion_In_Return_Present;
2141 function Null_Record_Present
2142 (N : Node_Id) return Boolean is
2144 pragma Assert (False
2145 or else NT (N).Nkind = N_Aggregate
2146 or else NT (N).Nkind = N_Extension_Aggregate);
2148 end Null_Record_Present;
2150 function Object_Definition
2151 (N : Node_Id) return Node_Id is
2153 pragma Assert (False
2154 or else NT (N).Nkind = N_Object_Declaration);
2156 end Object_Definition;
2158 function Original_Discriminant
2159 (N : Node_Id) return Node_Id is
2161 pragma Assert (False
2162 or else NT (N).Nkind = N_Identifier);
2164 end Original_Discriminant;
2166 function Original_Entity
2167 (N : Node_Id) return Entity_Id is
2169 pragma Assert (False
2170 or else NT (N).Nkind = N_Integer_Literal
2171 or else NT (N).Nkind = N_Real_Literal);
2173 end Original_Entity;
2175 function Others_Discrete_Choices
2176 (N : Node_Id) return List_Id is
2178 pragma Assert (False
2179 or else NT (N).Nkind = N_Others_Choice);
2181 end Others_Discrete_Choices;
2183 function Out_Present
2184 (N : Node_Id) return Boolean is
2186 pragma Assert (False
2187 or else NT (N).Nkind = N_Formal_Object_Declaration
2188 or else NT (N).Nkind = N_Parameter_Specification);
2192 function Parameter_Associations
2193 (N : Node_Id) return List_Id is
2195 pragma Assert (False
2196 or else NT (N).Nkind = N_Entry_Call_Statement
2197 or else NT (N).Nkind = N_Function_Call
2198 or else NT (N).Nkind = N_Procedure_Call_Statement);
2200 end Parameter_Associations;
2202 function Parameter_List_Truncated
2203 (N : Node_Id) return Boolean is
2205 pragma Assert (False
2206 or else NT (N).Nkind = N_Function_Call
2207 or else NT (N).Nkind = N_Procedure_Call_Statement);
2209 end Parameter_List_Truncated;
2211 function Parameter_Specifications
2212 (N : Node_Id) return List_Id is
2214 pragma Assert (False
2215 or else NT (N).Nkind = N_Accept_Statement
2216 or else NT (N).Nkind = N_Access_Function_Definition
2217 or else NT (N).Nkind = N_Access_Procedure_Definition
2218 or else NT (N).Nkind = N_Entry_Body_Formal_Part
2219 or else NT (N).Nkind = N_Entry_Declaration
2220 or else NT (N).Nkind = N_Function_Specification
2221 or else NT (N).Nkind = N_Procedure_Specification);
2223 end Parameter_Specifications;
2225 function Parameter_Type
2226 (N : Node_Id) return Node_Id is
2228 pragma Assert (False
2229 or else NT (N).Nkind = N_Parameter_Specification);
2233 function Parent_Spec
2234 (N : Node_Id) return Node_Id is
2236 pragma Assert (False
2237 or else NT (N).Nkind = N_Function_Instantiation
2238 or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
2239 or else NT (N).Nkind = N_Generic_Package_Declaration
2240 or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
2241 or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
2242 or else NT (N).Nkind = N_Generic_Subprogram_Declaration
2243 or else NT (N).Nkind = N_Package_Declaration
2244 or else NT (N).Nkind = N_Package_Instantiation
2245 or else NT (N).Nkind = N_Package_Renaming_Declaration
2246 or else NT (N).Nkind = N_Procedure_Instantiation
2247 or else NT (N).Nkind = N_Subprogram_Declaration
2248 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
2252 function PPC_Enabled
2253 (N : Node_Id) return Boolean is
2255 pragma Assert (False
2256 or else NT (N).Nkind = N_Pragma);
2261 (N : Node_Id) return Node_Id is
2263 pragma Assert (False
2264 or else NT (N).Nkind = N_Component_Clause);
2268 function Pragma_Argument_Associations
2269 (N : Node_Id) return List_Id is
2271 pragma Assert (False
2272 or else NT (N).Nkind = N_Pragma);
2274 end Pragma_Argument_Associations;
2276 function Pragma_Identifier
2277 (N : Node_Id) return Node_Id is
2279 pragma Assert (False
2280 or else NT (N).Nkind = N_Pragma);
2282 end Pragma_Identifier;
2284 function Pragmas_After
2285 (N : Node_Id) return List_Id is
2287 pragma Assert (False
2288 or else NT (N).Nkind = N_Compilation_Unit_Aux
2289 or else NT (N).Nkind = N_Terminate_Alternative);
2293 function Pragmas_Before
2294 (N : Node_Id) return List_Id is
2296 pragma Assert (False
2297 or else NT (N).Nkind = N_Accept_Alternative
2298 or else NT (N).Nkind = N_Delay_Alternative
2299 or else NT (N).Nkind = N_Entry_Call_Alternative
2300 or else NT (N).Nkind = N_Mod_Clause
2301 or else NT (N).Nkind = N_Terminate_Alternative
2302 or else NT (N).Nkind = N_Triggering_Alternative);
2307 (N : Node_Id) return Node_Id is
2309 pragma Assert (False
2310 or else NT (N).Nkind = N_Attribute_Reference
2311 or else NT (N).Nkind = N_Expanded_Name
2312 or else NT (N).Nkind = N_Explicit_Dereference
2313 or else NT (N).Nkind = N_Indexed_Component
2314 or else NT (N).Nkind = N_Reference
2315 or else NT (N).Nkind = N_Selected_Component
2316 or else NT (N).Nkind = N_Slice);
2320 function Present_Expr
2321 (N : Node_Id) return Uint is
2323 pragma Assert (False
2324 or else NT (N).Nkind = N_Variant);
2329 (N : Node_Id) return Boolean is
2331 pragma Assert (False
2332 or else NT (N).Nkind = N_Component_Declaration
2333 or else NT (N).Nkind = N_Discriminant_Specification
2334 or else NT (N).Nkind = N_Exception_Declaration
2335 or else NT (N).Nkind = N_Formal_Object_Declaration
2336 or else NT (N).Nkind = N_Number_Declaration
2337 or else NT (N).Nkind = N_Object_Declaration
2338 or else NT (N).Nkind = N_Parameter_Specification);
2342 function Print_In_Hex
2343 (N : Node_Id) return Boolean is
2345 pragma Assert (False
2346 or else NT (N).Nkind = N_Integer_Literal);
2350 function Private_Declarations
2351 (N : Node_Id) return List_Id is
2353 pragma Assert (False
2354 or else NT (N).Nkind = N_Package_Specification
2355 or else NT (N).Nkind = N_Protected_Definition
2356 or else NT (N).Nkind = N_Task_Definition);
2358 end Private_Declarations;
2360 function Private_Present
2361 (N : Node_Id) return Boolean is
2363 pragma Assert (False
2364 or else NT (N).Nkind = N_Compilation_Unit
2365 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
2366 or else NT (N).Nkind = N_With_Clause);
2368 end Private_Present;
2370 function Procedure_To_Call
2371 (N : Node_Id) return Node_Id is
2373 pragma Assert (False
2374 or else NT (N).Nkind = N_Allocator
2375 or else NT (N).Nkind = N_Extended_Return_Statement
2376 or else NT (N).Nkind = N_Free_Statement
2377 or else NT (N).Nkind = N_Return_Statement);
2379 end Procedure_To_Call;
2381 function Proper_Body
2382 (N : Node_Id) return Node_Id is
2384 pragma Assert (False
2385 or else NT (N).Nkind = N_Subunit);
2389 function Protected_Definition
2390 (N : Node_Id) return Node_Id is
2392 pragma Assert (False
2393 or else NT (N).Nkind = N_Protected_Type_Declaration
2394 or else NT (N).Nkind = N_Single_Protected_Declaration);
2396 end Protected_Definition;
2398 function Protected_Present
2399 (N : Node_Id) return Boolean is
2401 pragma Assert (False
2402 or else NT (N).Nkind = N_Access_Function_Definition
2403 or else NT (N).Nkind = N_Access_Procedure_Definition
2404 or else NT (N).Nkind = N_Derived_Type_Definition
2405 or else NT (N).Nkind = N_Record_Definition);
2407 end Protected_Present;
2409 function Raises_Constraint_Error
2410 (N : Node_Id) return Boolean is
2412 pragma Assert (False
2413 or else NT (N).Nkind in N_Subexpr);
2415 end Raises_Constraint_Error;
2417 function Range_Constraint
2418 (N : Node_Id) return Node_Id is
2420 pragma Assert (False
2421 or else NT (N).Nkind = N_Delta_Constraint
2422 or else NT (N).Nkind = N_Digits_Constraint);
2424 end Range_Constraint;
2426 function Range_Expression
2427 (N : Node_Id) return Node_Id is
2429 pragma Assert (False
2430 or else NT (N).Nkind = N_Range_Constraint);
2432 end Range_Expression;
2434 function Real_Range_Specification
2435 (N : Node_Id) return Node_Id is
2437 pragma Assert (False
2438 or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
2439 or else NT (N).Nkind = N_Floating_Point_Definition
2440 or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
2442 end Real_Range_Specification;
2445 (N : Node_Id) return Ureal is
2447 pragma Assert (False
2448 or else NT (N).Nkind = N_Real_Literal);
2453 (N : Node_Id) return Uint is
2455 pragma Assert (False
2456 or else NT (N).Nkind = N_Raise_Constraint_Error
2457 or else NT (N).Nkind = N_Raise_Program_Error
2458 or else NT (N).Nkind = N_Raise_Storage_Error);
2462 function Record_Extension_Part
2463 (N : Node_Id) return Node_Id is
2465 pragma Assert (False
2466 or else NT (N).Nkind = N_Derived_Type_Definition);
2468 end Record_Extension_Part;
2470 function Redundant_Use
2471 (N : Node_Id) return Boolean is
2473 pragma Assert (False
2474 or else NT (N).Nkind = N_Attribute_Reference
2475 or else NT (N).Nkind = N_Expanded_Name
2476 or else NT (N).Nkind = N_Identifier);
2480 function Renaming_Exception
2481 (N : Node_Id) return Node_Id is
2483 pragma Assert (False
2484 or else NT (N).Nkind = N_Exception_Declaration);
2486 end Renaming_Exception;
2488 function Result_Definition
2489 (N : Node_Id) return Node_Id is
2491 pragma Assert (False
2492 or else NT (N).Nkind = N_Access_Function_Definition
2493 or else NT (N).Nkind = N_Function_Specification);
2495 end Result_Definition;
2497 function Return_Object_Declarations
2498 (N : Node_Id) return List_Id is
2500 pragma Assert (False
2501 or else NT (N).Nkind = N_Extended_Return_Statement);
2503 end Return_Object_Declarations;
2505 function Return_Statement_Entity
2506 (N : Node_Id) return Node_Id is
2508 pragma Assert (False
2509 or else NT (N).Nkind = N_Extended_Return_Statement
2510 or else NT (N).Nkind = N_Return_Statement);
2512 end Return_Statement_Entity;
2514 function Reverse_Present
2515 (N : Node_Id) return Boolean is
2517 pragma Assert (False
2518 or else NT (N).Nkind = N_Loop_Parameter_Specification);
2520 end Reverse_Present;
2523 (N : Node_Id) return Node_Id is
2525 pragma Assert (False
2526 or else NT (N).Nkind in N_Op
2527 or else NT (N).Nkind = N_And_Then
2528 or else NT (N).Nkind = N_In
2529 or else NT (N).Nkind = N_Not_In
2530 or else NT (N).Nkind = N_Or_Else);
2534 function Rounded_Result
2535 (N : Node_Id) return Boolean is
2537 pragma Assert (False
2538 or else NT (N).Nkind = N_Op_Divide
2539 or else NT (N).Nkind = N_Op_Multiply
2540 or else NT (N).Nkind = N_Type_Conversion);
2544 function SCIL_Controlling_Tag
2545 (N : Node_Id) return Node_Id is
2547 pragma Assert (False
2548 or else NT (N).Nkind = N_SCIL_Dispatching_Call);
2550 end SCIL_Controlling_Tag;
2552 function SCIL_Entity
2553 (N : Node_Id) return Node_Id is
2555 pragma Assert (False
2556 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Object_Init
2557 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Tag_Init
2558 or else NT (N).Nkind = N_SCIL_Dispatching_Call
2559 or else NT (N).Nkind = N_SCIL_Membership_Test
2560 or else NT (N).Nkind = N_SCIL_Tag_Init);
2564 function SCIL_Related_Node
2565 (N : Node_Id) return Node_Id is
2567 pragma Assert (False
2568 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Object_Init
2569 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Tag_Init
2570 or else NT (N).Nkind = N_SCIL_Dispatching_Call
2571 or else NT (N).Nkind = N_SCIL_Membership_Test
2572 or else NT (N).Nkind = N_SCIL_Tag_Init);
2574 end SCIL_Related_Node;
2576 function SCIL_Tag_Value
2577 (N : Node_Id) return Node_Id is
2579 pragma Assert (False
2580 or else NT (N).Nkind = N_SCIL_Membership_Test);
2584 function SCIL_Target_Prim
2585 (N : Node_Id) return Node_Id is
2587 pragma Assert (False
2588 or else NT (N).Nkind = N_SCIL_Dispatching_Call);
2590 end SCIL_Target_Prim;
2593 (N : Node_Id) return Node_Id is
2595 pragma Assert (False
2596 or else NT (N).Nkind = N_Defining_Character_Literal
2597 or else NT (N).Nkind = N_Defining_Identifier
2598 or else NT (N).Nkind = N_Defining_Operator_Symbol);
2602 function Select_Alternatives
2603 (N : Node_Id) return List_Id is
2605 pragma Assert (False
2606 or else NT (N).Nkind = N_Selective_Accept);
2608 end Select_Alternatives;
2610 function Selector_Name
2611 (N : Node_Id) return Node_Id is
2613 pragma Assert (False
2614 or else NT (N).Nkind = N_Expanded_Name
2615 or else NT (N).Nkind = N_Generic_Association
2616 or else NT (N).Nkind = N_Parameter_Association
2617 or else NT (N).Nkind = N_Selected_Component);
2621 function Selector_Names
2622 (N : Node_Id) return List_Id is
2624 pragma Assert (False
2625 or else NT (N).Nkind = N_Discriminant_Association);
2629 function Shift_Count_OK
2630 (N : Node_Id) return Boolean is
2632 pragma Assert (False
2633 or else NT (N).Nkind = N_Op_Rotate_Left
2634 or else NT (N).Nkind = N_Op_Rotate_Right
2635 or else NT (N).Nkind = N_Op_Shift_Left
2636 or else NT (N).Nkind = N_Op_Shift_Right
2637 or else NT (N).Nkind = N_Op_Shift_Right_Arithmetic);
2641 function Source_Type
2642 (N : Node_Id) return Entity_Id is
2644 pragma Assert (False
2645 or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
2649 function Specification
2650 (N : Node_Id) return Node_Id is
2652 pragma Assert (False
2653 or else NT (N).Nkind = N_Abstract_Subprogram_Declaration
2654 or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
2655 or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
2656 or else NT (N).Nkind = N_Generic_Package_Declaration
2657 or else NT (N).Nkind = N_Generic_Subprogram_Declaration
2658 or else NT (N).Nkind = N_Package_Declaration
2659 or else NT (N).Nkind = N_Subprogram_Body
2660 or else NT (N).Nkind = N_Subprogram_Body_Stub
2661 or else NT (N).Nkind = N_Subprogram_Declaration
2662 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
2667 (N : Node_Id) return List_Id is
2669 pragma Assert (False
2670 or else NT (N).Nkind = N_Abortable_Part
2671 or else NT (N).Nkind = N_Accept_Alternative
2672 or else NT (N).Nkind = N_Case_Statement_Alternative
2673 or else NT (N).Nkind = N_Delay_Alternative
2674 or else NT (N).Nkind = N_Entry_Call_Alternative
2675 or else NT (N).Nkind = N_Exception_Handler
2676 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
2677 or else NT (N).Nkind = N_Loop_Statement
2678 or else NT (N).Nkind = N_Triggering_Alternative);
2682 function Static_Processing_OK
2683 (N : Node_Id) return Boolean is
2685 pragma Assert (False
2686 or else NT (N).Nkind = N_Aggregate);
2688 end Static_Processing_OK;
2690 function Storage_Pool
2691 (N : Node_Id) return Node_Id is
2693 pragma Assert (False
2694 or else NT (N).Nkind = N_Allocator
2695 or else NT (N).Nkind = N_Extended_Return_Statement
2696 or else NT (N).Nkind = N_Free_Statement
2697 or else NT (N).Nkind = N_Return_Statement);
2702 (N : Node_Id) return String_Id is
2704 pragma Assert (False
2705 or else NT (N).Nkind = N_Operator_Symbol
2706 or else NT (N).Nkind = N_String_Literal);
2710 function Subtype_Indication
2711 (N : Node_Id) return Node_Id is
2713 pragma Assert (False
2714 or else NT (N).Nkind = N_Access_To_Object_Definition
2715 or else NT (N).Nkind = N_Component_Definition
2716 or else NT (N).Nkind = N_Derived_Type_Definition
2717 or else NT (N).Nkind = N_Private_Extension_Declaration
2718 or else NT (N).Nkind = N_Subtype_Declaration);
2720 end Subtype_Indication;
2722 function Suppress_Loop_Warnings
2723 (N : Node_Id) return Boolean is
2725 pragma Assert (False
2726 or else NT (N).Nkind = N_Loop_Statement);
2728 end Suppress_Loop_Warnings;
2730 function Subtype_Mark
2731 (N : Node_Id) return Node_Id is
2733 pragma Assert (False
2734 or else NT (N).Nkind = N_Access_Definition
2735 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
2736 or else NT (N).Nkind = N_Formal_Object_Declaration
2737 or else NT (N).Nkind = N_Object_Renaming_Declaration
2738 or else NT (N).Nkind = N_Qualified_Expression
2739 or else NT (N).Nkind = N_Subtype_Indication
2740 or else NT (N).Nkind = N_Type_Conversion
2741 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
2745 function Subtype_Marks
2746 (N : Node_Id) return List_Id is
2748 pragma Assert (False
2749 or else NT (N).Nkind = N_Unconstrained_Array_Definition
2750 or else NT (N).Nkind = N_Use_Type_Clause);
2754 function Synchronized_Present
2755 (N : Node_Id) return Boolean is
2757 pragma Assert (False
2758 or else NT (N).Nkind = N_Derived_Type_Definition
2759 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
2760 or else NT (N).Nkind = N_Private_Extension_Declaration
2761 or else NT (N).Nkind = N_Record_Definition);
2763 end Synchronized_Present;
2765 function Tagged_Present
2766 (N : Node_Id) return Boolean is
2768 pragma Assert (False
2769 or else NT (N).Nkind = N_Formal_Private_Type_Definition
2770 or else NT (N).Nkind = N_Incomplete_Type_Declaration
2771 or else NT (N).Nkind = N_Private_Type_Declaration
2772 or else NT (N).Nkind = N_Record_Definition);
2776 function Target_Type
2777 (N : Node_Id) return Entity_Id is
2779 pragma Assert (False
2780 or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
2784 function Task_Definition
2785 (N : Node_Id) return Node_Id is
2787 pragma Assert (False
2788 or else NT (N).Nkind = N_Single_Task_Declaration
2789 or else NT (N).Nkind = N_Task_Type_Declaration);
2791 end Task_Definition;
2793 function Task_Present
2794 (N : Node_Id) return Boolean is
2796 pragma Assert (False
2797 or else NT (N).Nkind = N_Derived_Type_Definition
2798 or else NT (N).Nkind = N_Record_Definition);
2802 function Then_Actions
2803 (N : Node_Id) return List_Id is
2805 pragma Assert (False
2806 or else NT (N).Nkind = N_Conditional_Expression);
2810 function Then_Statements
2811 (N : Node_Id) return List_Id is
2813 pragma Assert (False
2814 or else NT (N).Nkind = N_Elsif_Part
2815 or else NT (N).Nkind = N_If_Statement);
2817 end Then_Statements;
2819 function Treat_Fixed_As_Integer
2820 (N : Node_Id) return Boolean is
2822 pragma Assert (False
2823 or else NT (N).Nkind = N_Op_Divide
2824 or else NT (N).Nkind = N_Op_Mod
2825 or else NT (N).Nkind = N_Op_Multiply
2826 or else NT (N).Nkind = N_Op_Rem);
2828 end Treat_Fixed_As_Integer;
2830 function Triggering_Alternative
2831 (N : Node_Id) return Node_Id is
2833 pragma Assert (False
2834 or else NT (N).Nkind = N_Asynchronous_Select);
2836 end Triggering_Alternative;
2838 function Triggering_Statement
2839 (N : Node_Id) return Node_Id is
2841 pragma Assert (False
2842 or else NT (N).Nkind = N_Triggering_Alternative);
2844 end Triggering_Statement;
2847 (N : Node_Id) return Elist_Id is
2849 pragma Assert (False
2850 or else NT (N).Nkind = N_Freeze_Entity);
2854 function Type_Definition
2855 (N : Node_Id) return Node_Id is
2857 pragma Assert (False
2858 or else NT (N).Nkind = N_Full_Type_Declaration);
2860 end Type_Definition;
2863 (N : Node_Id) return Node_Id is
2865 pragma Assert (False
2866 or else NT (N).Nkind = N_Compilation_Unit);
2870 function Unknown_Discriminants_Present
2871 (N : Node_Id) return Boolean is
2873 pragma Assert (False
2874 or else NT (N).Nkind = N_Formal_Type_Declaration
2875 or else NT (N).Nkind = N_Incomplete_Type_Declaration
2876 or else NT (N).Nkind = N_Private_Extension_Declaration
2877 or else NT (N).Nkind = N_Private_Type_Declaration);
2879 end Unknown_Discriminants_Present;
2881 function Unreferenced_In_Spec
2882 (N : Node_Id) return Boolean is
2884 pragma Assert (False
2885 or else NT (N).Nkind = N_With_Clause);
2887 end Unreferenced_In_Spec;
2889 function Variant_Part
2890 (N : Node_Id) return Node_Id is
2892 pragma Assert (False
2893 or else NT (N).Nkind = N_Component_List);
2898 (N : Node_Id) return List_Id is
2900 pragma Assert (False
2901 or else NT (N).Nkind = N_Variant_Part);
2905 function Visible_Declarations
2906 (N : Node_Id) return List_Id is
2908 pragma Assert (False
2909 or else NT (N).Nkind = N_Package_Specification
2910 or else NT (N).Nkind = N_Protected_Definition
2911 or else NT (N).Nkind = N_Task_Definition);
2913 end Visible_Declarations;
2915 function Was_Originally_Stub
2916 (N : Node_Id) return Boolean is
2918 pragma Assert (False
2919 or else NT (N).Nkind = N_Package_Body
2920 or else NT (N).Nkind = N_Protected_Body
2921 or else NT (N).Nkind = N_Subprogram_Body
2922 or else NT (N).Nkind = N_Task_Body);
2924 end Was_Originally_Stub;
2926 function Zero_Cost_Handling
2927 (N : Node_Id) return Boolean is
2929 pragma Assert (False
2930 or else NT (N).Nkind = N_Exception_Handler
2931 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
2933 end Zero_Cost_Handling;
2935 --------------------------
2936 -- Field Set Procedures --
2937 --------------------------
2939 procedure Set_ABE_Is_Certain
2940 (N : Node_Id; Val : Boolean := True) is
2942 pragma Assert (False
2943 or else NT (N).Nkind = N_Formal_Package_Declaration
2944 or else NT (N).Nkind = N_Function_Call
2945 or else NT (N).Nkind = N_Function_Instantiation
2946 or else NT (N).Nkind = N_Package_Instantiation
2947 or else NT (N).Nkind = N_Procedure_Call_Statement
2948 or else NT (N).Nkind = N_Procedure_Instantiation);
2949 Set_Flag18 (N, Val);
2950 end Set_ABE_Is_Certain;
2952 procedure Set_Abort_Present
2953 (N : Node_Id; Val : Boolean := True) is
2955 pragma Assert (False
2956 or else NT (N).Nkind = N_Requeue_Statement);
2957 Set_Flag15 (N, Val);
2958 end Set_Abort_Present;
2960 procedure Set_Abortable_Part
2961 (N : Node_Id; Val : Node_Id) is
2963 pragma Assert (False
2964 or else NT (N).Nkind = N_Asynchronous_Select);
2965 Set_Node2_With_Parent (N, Val);
2966 end Set_Abortable_Part;
2968 procedure Set_Abstract_Present
2969 (N : Node_Id; Val : Boolean := True) is
2971 pragma Assert (False
2972 or else NT (N).Nkind = N_Derived_Type_Definition
2973 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
2974 or else NT (N).Nkind = N_Formal_Private_Type_Definition
2975 or else NT (N).Nkind = N_Private_Extension_Declaration
2976 or else NT (N).Nkind = N_Private_Type_Declaration
2977 or else NT (N).Nkind = N_Record_Definition);
2979 end Set_Abstract_Present;
2981 procedure Set_Accept_Handler_Records
2982 (N : Node_Id; Val : List_Id) is
2984 pragma Assert (False
2985 or else NT (N).Nkind = N_Accept_Alternative);
2986 Set_List5 (N, Val); -- semantic field, no parent set
2987 end Set_Accept_Handler_Records;
2989 procedure Set_Accept_Statement
2990 (N : Node_Id; Val : Node_Id) is
2992 pragma Assert (False
2993 or else NT (N).Nkind = N_Accept_Alternative);
2994 Set_Node2_With_Parent (N, Val);
2995 end Set_Accept_Statement;
2997 procedure Set_Access_Definition
2998 (N : Node_Id; Val : Node_Id) is
3000 pragma Assert (False
3001 or else NT (N).Nkind = N_Component_Definition
3002 or else NT (N).Nkind = N_Formal_Object_Declaration
3003 or else NT (N).Nkind = N_Object_Renaming_Declaration);
3004 Set_Node3_With_Parent (N, Val);
3005 end Set_Access_Definition;
3007 procedure Set_Access_To_Subprogram_Definition
3008 (N : Node_Id; Val : Node_Id) is
3010 pragma Assert (False
3011 or else NT (N).Nkind = N_Access_Definition);
3012 Set_Node3_With_Parent (N, Val);
3013 end Set_Access_To_Subprogram_Definition;
3015 procedure Set_Access_Types_To_Process
3016 (N : Node_Id; Val : Elist_Id) is
3018 pragma Assert (False
3019 or else NT (N).Nkind = N_Freeze_Entity);
3020 Set_Elist2 (N, Val); -- semantic field, no parent set
3021 end Set_Access_Types_To_Process;
3023 procedure Set_Actions
3024 (N : Node_Id; Val : List_Id) is
3026 pragma Assert (False
3027 or else NT (N).Nkind = N_And_Then
3028 or else NT (N).Nkind = N_Compilation_Unit_Aux
3029 or else NT (N).Nkind = N_Freeze_Entity
3030 or else NT (N).Nkind = N_Or_Else);
3031 Set_List1_With_Parent (N, Val);
3034 procedure Set_Activation_Chain_Entity
3035 (N : Node_Id; Val : Node_Id) is
3037 pragma Assert (False
3038 or else NT (N).Nkind = N_Block_Statement
3039 or else NT (N).Nkind = N_Entry_Body
3040 or else NT (N).Nkind = N_Generic_Package_Declaration
3041 or else NT (N).Nkind = N_Package_Declaration
3042 or else NT (N).Nkind = N_Subprogram_Body
3043 or else NT (N).Nkind = N_Task_Body);
3044 Set_Node3 (N, Val); -- semantic field, no parent set
3045 end Set_Activation_Chain_Entity;
3047 procedure Set_Acts_As_Spec
3048 (N : Node_Id; Val : Boolean := True) is
3050 pragma Assert (False
3051 or else NT (N).Nkind = N_Compilation_Unit
3052 or else NT (N).Nkind = N_Subprogram_Body);
3054 end Set_Acts_As_Spec;
3056 procedure Set_Actual_Designated_Subtype
3057 (N : Node_Id; Val : Node_Id) is
3059 pragma Assert (False
3060 or else NT (N).Nkind = N_Explicit_Dereference
3061 or else NT (N).Nkind = N_Free_Statement);
3063 end Set_Actual_Designated_Subtype;
3065 procedure Set_Address_Warning_Posted
3066 (N : Node_Id; Val : Boolean := True) is
3068 pragma Assert (False
3069 or else NT (N).Nkind = N_Attribute_Definition_Clause);
3070 Set_Flag18 (N, Val);
3071 end Set_Address_Warning_Posted;
3073 procedure Set_Aggregate_Bounds
3074 (N : Node_Id; Val : Node_Id) is
3076 pragma Assert (False
3077 or else NT (N).Nkind = N_Aggregate);
3078 Set_Node3 (N, Val); -- semantic field, no parent set
3079 end Set_Aggregate_Bounds;
3081 procedure Set_Aliased_Present
3082 (N : Node_Id; Val : Boolean := True) is
3084 pragma Assert (False
3085 or else NT (N).Nkind = N_Component_Definition
3086 or else NT (N).Nkind = N_Object_Declaration);
3088 end Set_Aliased_Present;
3090 procedure Set_All_Others
3091 (N : Node_Id; Val : Boolean := True) is
3093 pragma Assert (False
3094 or else NT (N).Nkind = N_Others_Choice);
3095 Set_Flag11 (N, Val);
3098 procedure Set_All_Present
3099 (N : Node_Id; Val : Boolean := True) is
3101 pragma Assert (False
3102 or else NT (N).Nkind = N_Access_Definition
3103 or else NT (N).Nkind = N_Access_To_Object_Definition);
3104 Set_Flag15 (N, Val);
3105 end Set_All_Present;
3107 procedure Set_Alternatives
3108 (N : Node_Id; Val : List_Id) is
3110 pragma Assert (False
3111 or else NT (N).Nkind = N_Case_Statement
3112 or else NT (N).Nkind = N_In
3113 or else NT (N).Nkind = N_Not_In);
3114 Set_List4_With_Parent (N, Val);
3115 end Set_Alternatives;
3117 procedure Set_Ancestor_Part
3118 (N : Node_Id; Val : Node_Id) is
3120 pragma Assert (False
3121 or else NT (N).Nkind = N_Extension_Aggregate);
3122 Set_Node3_With_Parent (N, Val);
3123 end Set_Ancestor_Part;
3125 procedure Set_Array_Aggregate
3126 (N : Node_Id; Val : Node_Id) is
3128 pragma Assert (False
3129 or else NT (N).Nkind = N_Enumeration_Representation_Clause);
3130 Set_Node3_With_Parent (N, Val);
3131 end Set_Array_Aggregate;
3133 procedure Set_Assignment_OK
3134 (N : Node_Id; Val : Boolean := True) is
3136 pragma Assert (False
3137 or else NT (N).Nkind = N_Object_Declaration
3138 or else NT (N).Nkind in N_Subexpr);
3139 Set_Flag15 (N, Val);
3140 end Set_Assignment_OK;
3142 procedure Set_Associated_Node
3143 (N : Node_Id; Val : Node_Id) is
3145 pragma Assert (False
3146 or else NT (N).Nkind in N_Has_Entity
3147 or else NT (N).Nkind = N_Aggregate
3148 or else NT (N).Nkind = N_Extension_Aggregate
3149 or else NT (N).Nkind = N_Selected_Component);
3150 Set_Node4 (N, Val); -- semantic field, no parent set
3151 end Set_Associated_Node;
3153 procedure Set_At_End_Proc
3154 (N : Node_Id; Val : Node_Id) is
3156 pragma Assert (False
3157 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
3159 end Set_At_End_Proc;
3161 procedure Set_Attribute_Name
3162 (N : Node_Id; Val : Name_Id) is
3164 pragma Assert (False
3165 or else NT (N).Nkind = N_Attribute_Reference);
3167 end Set_Attribute_Name;
3169 procedure Set_Aux_Decls_Node
3170 (N : Node_Id; Val : Node_Id) is
3172 pragma Assert (False
3173 or else NT (N).Nkind = N_Compilation_Unit);
3174 Set_Node5_With_Parent (N, Val);
3175 end Set_Aux_Decls_Node;
3177 procedure Set_Backwards_OK
3178 (N : Node_Id; Val : Boolean := True) is
3180 pragma Assert (False
3181 or else NT (N).Nkind = N_Assignment_Statement);
3183 end Set_Backwards_OK;
3185 procedure Set_Bad_Is_Detected
3186 (N : Node_Id; Val : Boolean := True) is
3188 pragma Assert (False
3189 or else NT (N).Nkind = N_Subprogram_Body);
3190 Set_Flag15 (N, Val);
3191 end Set_Bad_Is_Detected;
3193 procedure Set_Body_Required
3194 (N : Node_Id; Val : Boolean := True) is
3196 pragma Assert (False
3197 or else NT (N).Nkind = N_Compilation_Unit);
3198 Set_Flag13 (N, Val);
3199 end Set_Body_Required;
3201 procedure Set_Body_To_Inline
3202 (N : Node_Id; Val : Node_Id) is
3204 pragma Assert (False
3205 or else NT (N).Nkind = N_Subprogram_Declaration);
3207 end Set_Body_To_Inline;
3209 procedure Set_Box_Present
3210 (N : Node_Id; Val : Boolean := True) is
3212 pragma Assert (False
3213 or else NT (N).Nkind = N_Component_Association
3214 or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
3215 or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
3216 or else NT (N).Nkind = N_Formal_Package_Declaration
3217 or else NT (N).Nkind = N_Generic_Association);
3218 Set_Flag15 (N, Val);
3219 end Set_Box_Present;
3221 procedure Set_By_Ref
3222 (N : Node_Id; Val : Boolean := True) is
3224 pragma Assert (False
3225 or else NT (N).Nkind = N_Extended_Return_Statement
3226 or else NT (N).Nkind = N_Return_Statement);
3230 procedure Set_Char_Literal_Value
3231 (N : Node_Id; Val : Uint) is
3233 pragma Assert (False
3234 or else NT (N).Nkind = N_Character_Literal);
3236 end Set_Char_Literal_Value;
3239 (N : Node_Id; Val : Name_Id) is
3241 pragma Assert (False
3242 or else NT (N).Nkind in N_Has_Chars);
3246 procedure Set_Check_Address_Alignment
3247 (N : Node_Id; Val : Boolean := True) is
3249 pragma Assert (False
3250 or else NT (N).Nkind = N_Attribute_Definition_Clause);
3251 Set_Flag11 (N, Val);
3252 end Set_Check_Address_Alignment;
3254 procedure Set_Choice_Parameter
3255 (N : Node_Id; Val : Node_Id) is
3257 pragma Assert (False
3258 or else NT (N).Nkind = N_Exception_Handler);
3259 Set_Node2_With_Parent (N, Val);
3260 end Set_Choice_Parameter;
3262 procedure Set_Choices
3263 (N : Node_Id; Val : List_Id) is
3265 pragma Assert (False
3266 or else NT (N).Nkind = N_Component_Association);
3267 Set_List1_With_Parent (N, Val);
3270 procedure Set_Coextensions
3271 (N : Node_Id; Val : Elist_Id) is
3273 pragma Assert (False
3274 or else NT (N).Nkind = N_Allocator);
3275 Set_Elist4 (N, Val);
3276 end Set_Coextensions;
3278 procedure Set_Comes_From_Extended_Return_Statement
3279 (N : Node_Id; Val : Boolean := True) is
3281 pragma Assert (False
3282 or else NT (N).Nkind = N_Return_Statement);
3283 Set_Flag18 (N, Val);
3284 end Set_Comes_From_Extended_Return_Statement;
3286 procedure Set_Compile_Time_Known_Aggregate
3287 (N : Node_Id; Val : Boolean := True) is
3289 pragma Assert (False
3290 or else NT (N).Nkind = N_Aggregate);
3291 Set_Flag18 (N, Val);
3292 end Set_Compile_Time_Known_Aggregate;
3294 procedure Set_Component_Associations
3295 (N : Node_Id; Val : List_Id) is
3297 pragma Assert (False
3298 or else NT (N).Nkind = N_Aggregate
3299 or else NT (N).Nkind = N_Extension_Aggregate);
3300 Set_List2_With_Parent (N, Val);
3301 end Set_Component_Associations;
3303 procedure Set_Component_Clauses
3304 (N : Node_Id; Val : List_Id) is
3306 pragma Assert (False
3307 or else NT (N).Nkind = N_Record_Representation_Clause);
3308 Set_List3_With_Parent (N, Val);
3309 end Set_Component_Clauses;
3311 procedure Set_Component_Definition
3312 (N : Node_Id; Val : Node_Id) is
3314 pragma Assert (False
3315 or else NT (N).Nkind = N_Component_Declaration
3316 or else NT (N).Nkind = N_Constrained_Array_Definition
3317 or else NT (N).Nkind = N_Unconstrained_Array_Definition);
3318 Set_Node4_With_Parent (N, Val);
3319 end Set_Component_Definition;
3321 procedure Set_Component_Items
3322 (N : Node_Id; Val : List_Id) is
3324 pragma Assert (False
3325 or else NT (N).Nkind = N_Component_List);
3326 Set_List3_With_Parent (N, Val);
3327 end Set_Component_Items;
3329 procedure Set_Component_List
3330 (N : Node_Id; Val : Node_Id) is
3332 pragma Assert (False
3333 or else NT (N).Nkind = N_Record_Definition
3334 or else NT (N).Nkind = N_Variant);
3335 Set_Node1_With_Parent (N, Val);
3336 end Set_Component_List;
3338 procedure Set_Component_Name
3339 (N : Node_Id; Val : Node_Id) is
3341 pragma Assert (False
3342 or else NT (N).Nkind = N_Component_Clause);
3343 Set_Node1_With_Parent (N, Val);
3344 end Set_Component_Name;
3346 procedure Set_Componentwise_Assignment
3347 (N : Node_Id; Val : Boolean := True) is
3349 pragma Assert (False
3350 or else NT (N).Nkind = N_Assignment_Statement);
3351 Set_Flag14 (N, Val);
3352 end Set_Componentwise_Assignment;
3354 procedure Set_Condition
3355 (N : Node_Id; Val : Node_Id) is
3357 pragma Assert (False
3358 or else NT (N).Nkind = N_Accept_Alternative
3359 or else NT (N).Nkind = N_Delay_Alternative
3360 or else NT (N).Nkind = N_Elsif_Part
3361 or else NT (N).Nkind = N_Entry_Body_Formal_Part
3362 or else NT (N).Nkind = N_Exit_Statement
3363 or else NT (N).Nkind = N_If_Statement
3364 or else NT (N).Nkind = N_Iteration_Scheme
3365 or else NT (N).Nkind = N_Raise_Constraint_Error
3366 or else NT (N).Nkind = N_Raise_Program_Error
3367 or else NT (N).Nkind = N_Raise_Storage_Error
3368 or else NT (N).Nkind = N_Terminate_Alternative);
3369 Set_Node1_With_Parent (N, Val);
3372 procedure Set_Condition_Actions
3373 (N : Node_Id; Val : List_Id) is
3375 pragma Assert (False
3376 or else NT (N).Nkind = N_Elsif_Part
3377 or else NT (N).Nkind = N_Iteration_Scheme);
3378 Set_List3 (N, Val); -- semantic field, no parent set
3379 end Set_Condition_Actions;
3381 procedure Set_Config_Pragmas
3382 (N : Node_Id; Val : List_Id) is
3384 pragma Assert (False
3385 or else NT (N).Nkind = N_Compilation_Unit_Aux);
3386 Set_List4_With_Parent (N, Val);
3387 end Set_Config_Pragmas;
3389 procedure Set_Constant_Present
3390 (N : Node_Id; Val : Boolean := True) is
3392 pragma Assert (False
3393 or else NT (N).Nkind = N_Access_Definition
3394 or else NT (N).Nkind = N_Access_To_Object_Definition
3395 or else NT (N).Nkind = N_Object_Declaration);
3396 Set_Flag17 (N, Val);
3397 end Set_Constant_Present;
3399 procedure Set_Constraint
3400 (N : Node_Id; Val : Node_Id) is
3402 pragma Assert (False
3403 or else NT (N).Nkind = N_Subtype_Indication);
3404 Set_Node3_With_Parent (N, Val);
3407 procedure Set_Constraints
3408 (N : Node_Id; Val : List_Id) is
3410 pragma Assert (False
3411 or else NT (N).Nkind = N_Index_Or_Discriminant_Constraint);
3412 Set_List1_With_Parent (N, Val);
3413 end Set_Constraints;
3415 procedure Set_Context_Installed
3416 (N : Node_Id; Val : Boolean := True) is
3418 pragma Assert (False
3419 or else NT (N).Nkind = N_With_Clause);
3420 Set_Flag13 (N, Val);
3421 end Set_Context_Installed;
3423 procedure Set_Context_Items
3424 (N : Node_Id; Val : List_Id) is
3426 pragma Assert (False
3427 or else NT (N).Nkind = N_Compilation_Unit);
3428 Set_List1_With_Parent (N, Val);
3429 end Set_Context_Items;
3431 procedure Set_Context_Pending
3432 (N : Node_Id; Val : Boolean := True) is
3434 pragma Assert (False
3435 or else NT (N).Nkind = N_Compilation_Unit);
3436 Set_Flag16 (N, Val);
3437 end Set_Context_Pending;
3439 procedure Set_Controlling_Argument
3440 (N : Node_Id; Val : Node_Id) is
3442 pragma Assert (False
3443 or else NT (N).Nkind = N_Function_Call
3444 or else NT (N).Nkind = N_Procedure_Call_Statement);
3445 Set_Node1 (N, Val); -- semantic field, no parent set
3446 end Set_Controlling_Argument;
3448 procedure Set_Conversion_OK
3449 (N : Node_Id; Val : Boolean := True) is
3451 pragma Assert (False
3452 or else NT (N).Nkind = N_Type_Conversion);
3453 Set_Flag14 (N, Val);
3454 end Set_Conversion_OK;
3456 procedure Set_Corresponding_Body
3457 (N : Node_Id; Val : Node_Id) is
3459 pragma Assert (False
3460 or else NT (N).Nkind = N_Entry_Declaration
3461 or else NT (N).Nkind = N_Generic_Package_Declaration
3462 or else NT (N).Nkind = N_Generic_Subprogram_Declaration
3463 or else NT (N).Nkind = N_Package_Body_Stub
3464 or else NT (N).Nkind = N_Package_Declaration
3465 or else NT (N).Nkind = N_Protected_Body_Stub
3466 or else NT (N).Nkind = N_Protected_Type_Declaration
3467 or else NT (N).Nkind = N_Subprogram_Body_Stub
3468 or else NT (N).Nkind = N_Subprogram_Declaration
3469 or else NT (N).Nkind = N_Task_Body_Stub
3470 or else NT (N).Nkind = N_Task_Type_Declaration);
3471 Set_Node5 (N, Val); -- semantic field, no parent set
3472 end Set_Corresponding_Body;
3474 procedure Set_Corresponding_Formal_Spec
3475 (N : Node_Id; Val : Node_Id) is
3477 pragma Assert (False
3478 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
3479 Set_Node3 (N, Val); -- semantic field, no parent set
3480 end Set_Corresponding_Formal_Spec;
3482 procedure Set_Corresponding_Generic_Association
3483 (N : Node_Id; Val : Node_Id) is
3485 pragma Assert (False
3486 or else NT (N).Nkind = N_Object_Declaration
3487 or else NT (N).Nkind = N_Object_Renaming_Declaration);
3488 Set_Node5 (N, Val); -- semantic field, no parent set
3489 end Set_Corresponding_Generic_Association;
3491 procedure Set_Corresponding_Integer_Value
3492 (N : Node_Id; Val : Uint) is
3494 pragma Assert (False
3495 or else NT (N).Nkind = N_Real_Literal);
3496 Set_Uint4 (N, Val); -- semantic field, no parent set
3497 end Set_Corresponding_Integer_Value;
3499 procedure Set_Corresponding_Spec
3500 (N : Node_Id; Val : Node_Id) is
3502 pragma Assert (False
3503 or else NT (N).Nkind = N_Package_Body
3504 or else NT (N).Nkind = N_Protected_Body
3505 or else NT (N).Nkind = N_Subprogram_Body
3506 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
3507 or else NT (N).Nkind = N_Task_Body
3508 or else NT (N).Nkind = N_With_Clause);
3509 Set_Node5 (N, Val); -- semantic field, no parent set
3510 end Set_Corresponding_Spec;
3512 procedure Set_Corresponding_Stub
3513 (N : Node_Id; Val : Node_Id) is
3515 pragma Assert (False
3516 or else NT (N).Nkind = N_Subunit);
3518 end Set_Corresponding_Stub;
3520 procedure Set_Dcheck_Function
3521 (N : Node_Id; Val : Entity_Id) is
3523 pragma Assert (False
3524 or else NT (N).Nkind = N_Variant);
3525 Set_Node5 (N, Val); -- semantic field, no parent set
3526 end Set_Dcheck_Function;
3528 procedure Set_Debug_Statement
3529 (N : Node_Id; Val : Node_Id) is
3531 pragma Assert (False
3532 or else NT (N).Nkind = N_Pragma);
3533 Set_Node3_With_Parent (N, Val);
3534 end Set_Debug_Statement;
3536 procedure Set_Declarations
3537 (N : Node_Id; Val : List_Id) is
3539 pragma Assert (False
3540 or else NT (N).Nkind = N_Accept_Statement
3541 or else NT (N).Nkind = N_Block_Statement
3542 or else NT (N).Nkind = N_Compilation_Unit_Aux
3543 or else NT (N).Nkind = N_Entry_Body
3544 or else NT (N).Nkind = N_Package_Body
3545 or else NT (N).Nkind = N_Protected_Body
3546 or else NT (N).Nkind = N_Subprogram_Body
3547 or else NT (N).Nkind = N_Task_Body);
3548 Set_List2_With_Parent (N, Val);
3549 end Set_Declarations;
3551 procedure Set_Default_Expression
3552 (N : Node_Id; Val : Node_Id) is
3554 pragma Assert (False
3555 or else NT (N).Nkind = N_Formal_Object_Declaration
3556 or else NT (N).Nkind = N_Parameter_Specification);
3557 Set_Node5 (N, Val); -- semantic field, no parent set
3558 end Set_Default_Expression;
3560 procedure Set_Default_Name
3561 (N : Node_Id; Val : Node_Id) is
3563 pragma Assert (False
3564 or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
3565 or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration);
3566 Set_Node2_With_Parent (N, Val);
3567 end Set_Default_Name;
3569 procedure Set_Defining_Identifier
3570 (N : Node_Id; Val : Entity_Id) is
3572 pragma Assert (False
3573 or else NT (N).Nkind = N_Component_Declaration
3574 or else NT (N).Nkind = N_Defining_Program_Unit_Name
3575 or else NT (N).Nkind = N_Discriminant_Specification
3576 or else NT (N).Nkind = N_Entry_Body
3577 or else NT (N).Nkind = N_Entry_Declaration
3578 or else NT (N).Nkind = N_Entry_Index_Specification
3579 or else NT (N).Nkind = N_Exception_Declaration
3580 or else NT (N).Nkind = N_Exception_Renaming_Declaration
3581 or else NT (N).Nkind = N_Formal_Object_Declaration
3582 or else NT (N).Nkind = N_Formal_Package_Declaration
3583 or else NT (N).Nkind = N_Formal_Type_Declaration
3584 or else NT (N).Nkind = N_Full_Type_Declaration
3585 or else NT (N).Nkind = N_Implicit_Label_Declaration
3586 or else NT (N).Nkind = N_Incomplete_Type_Declaration
3587 or else NT (N).Nkind = N_Loop_Parameter_Specification
3588 or else NT (N).Nkind = N_Number_Declaration
3589 or else NT (N).Nkind = N_Object_Declaration
3590 or else NT (N).Nkind = N_Object_Renaming_Declaration
3591 or else NT (N).Nkind = N_Package_Body_Stub
3592 or else NT (N).Nkind = N_Parameter_Specification
3593 or else NT (N).Nkind = N_Private_Extension_Declaration
3594 or else NT (N).Nkind = N_Private_Type_Declaration
3595 or else NT (N).Nkind = N_Protected_Body
3596 or else NT (N).Nkind = N_Protected_Body_Stub
3597 or else NT (N).Nkind = N_Protected_Type_Declaration
3598 or else NT (N).Nkind = N_Single_Protected_Declaration
3599 or else NT (N).Nkind = N_Single_Task_Declaration
3600 or else NT (N).Nkind = N_Subtype_Declaration
3601 or else NT (N).Nkind = N_Task_Body
3602 or else NT (N).Nkind = N_Task_Body_Stub
3603 or else NT (N).Nkind = N_Task_Type_Declaration);
3604 Set_Node1_With_Parent (N, Val);
3605 end Set_Defining_Identifier;
3607 procedure Set_Defining_Unit_Name
3608 (N : Node_Id; Val : Node_Id) is
3610 pragma Assert (False
3611 or else NT (N).Nkind = N_Function_Instantiation
3612 or else NT (N).Nkind = N_Function_Specification
3613 or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
3614 or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
3615 or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
3616 or else NT (N).Nkind = N_Package_Body
3617 or else NT (N).Nkind = N_Package_Instantiation
3618 or else NT (N).Nkind = N_Package_Renaming_Declaration
3619 or else NT (N).Nkind = N_Package_Specification
3620 or else NT (N).Nkind = N_Procedure_Instantiation
3621 or else NT (N).Nkind = N_Procedure_Specification);
3622 Set_Node1_With_Parent (N, Val);
3623 end Set_Defining_Unit_Name;
3625 procedure Set_Delay_Alternative
3626 (N : Node_Id; Val : Node_Id) is
3628 pragma Assert (False
3629 or else NT (N).Nkind = N_Timed_Entry_Call);
3630 Set_Node4_With_Parent (N, Val);
3631 end Set_Delay_Alternative;
3633 procedure Set_Delay_Statement
3634 (N : Node_Id; Val : Node_Id) is
3636 pragma Assert (False
3637 or else NT (N).Nkind = N_Delay_Alternative);
3638 Set_Node2_With_Parent (N, Val);
3639 end Set_Delay_Statement;
3641 procedure Set_Delta_Expression
3642 (N : Node_Id; Val : Node_Id) is
3644 pragma Assert (False
3645 or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
3646 or else NT (N).Nkind = N_Delta_Constraint
3647 or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
3648 Set_Node3_With_Parent (N, Val);
3649 end Set_Delta_Expression;
3651 procedure Set_Digits_Expression
3652 (N : Node_Id; Val : Node_Id) is
3654 pragma Assert (False
3655 or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
3656 or else NT (N).Nkind = N_Digits_Constraint
3657 or else NT (N).Nkind = N_Floating_Point_Definition);
3658 Set_Node2_With_Parent (N, Val);
3659 end Set_Digits_Expression;
3661 procedure Set_Discr_Check_Funcs_Built
3662 (N : Node_Id; Val : Boolean := True) is
3664 pragma Assert (False
3665 or else NT (N).Nkind = N_Full_Type_Declaration);
3666 Set_Flag11 (N, Val);
3667 end Set_Discr_Check_Funcs_Built;
3669 procedure Set_Discrete_Choices
3670 (N : Node_Id; Val : List_Id) is
3672 pragma Assert (False
3673 or else NT (N).Nkind = N_Case_Statement_Alternative
3674 or else NT (N).Nkind = N_Variant);
3675 Set_List4_With_Parent (N, Val);
3676 end Set_Discrete_Choices;
3678 procedure Set_Discrete_Range
3679 (N : Node_Id; Val : Node_Id) is
3681 pragma Assert (False
3682 or else NT (N).Nkind = N_Slice);
3683 Set_Node4_With_Parent (N, Val);
3684 end Set_Discrete_Range;
3686 procedure Set_Discrete_Subtype_Definition
3687 (N : Node_Id; Val : Node_Id) is
3689 pragma Assert (False
3690 or else NT (N).Nkind = N_Entry_Declaration
3691 or else NT (N).Nkind = N_Entry_Index_Specification
3692 or else NT (N).Nkind = N_Loop_Parameter_Specification);
3693 Set_Node4_With_Parent (N, Val);
3694 end Set_Discrete_Subtype_Definition;
3696 procedure Set_Discrete_Subtype_Definitions
3697 (N : Node_Id; Val : List_Id) is
3699 pragma Assert (False
3700 or else NT (N).Nkind = N_Constrained_Array_Definition);
3701 Set_List2_With_Parent (N, Val);
3702 end Set_Discrete_Subtype_Definitions;
3704 procedure Set_Discriminant_Specifications
3705 (N : Node_Id; Val : List_Id) is
3707 pragma Assert (False
3708 or else NT (N).Nkind = N_Formal_Type_Declaration
3709 or else NT (N).Nkind = N_Full_Type_Declaration
3710 or else NT (N).Nkind = N_Incomplete_Type_Declaration
3711 or else NT (N).Nkind = N_Private_Extension_Declaration
3712 or else NT (N).Nkind = N_Private_Type_Declaration
3713 or else NT (N).Nkind = N_Protected_Type_Declaration
3714 or else NT (N).Nkind = N_Task_Type_Declaration);
3715 Set_List4_With_Parent (N, Val);
3716 end Set_Discriminant_Specifications;
3718 procedure Set_Discriminant_Type
3719 (N : Node_Id; Val : Node_Id) is
3721 pragma Assert (False
3722 or else NT (N).Nkind = N_Discriminant_Specification);
3723 Set_Node5_With_Parent (N, Val);
3724 end Set_Discriminant_Type;
3726 procedure Set_Do_Accessibility_Check
3727 (N : Node_Id; Val : Boolean := True) is
3729 pragma Assert (False
3730 or else NT (N).Nkind = N_Parameter_Specification);
3731 Set_Flag13 (N, Val);
3732 end Set_Do_Accessibility_Check;
3734 procedure Set_Do_Discriminant_Check
3735 (N : Node_Id; Val : Boolean := True) is
3737 pragma Assert (False
3738 or else NT (N).Nkind = N_Selected_Component);
3739 Set_Flag13 (N, Val);
3740 end Set_Do_Discriminant_Check;
3742 procedure Set_Do_Division_Check
3743 (N : Node_Id; Val : Boolean := True) is
3745 pragma Assert (False
3746 or else NT (N).Nkind = N_Op_Divide
3747 or else NT (N).Nkind = N_Op_Mod
3748 or else NT (N).Nkind = N_Op_Rem);
3749 Set_Flag13 (N, Val);
3750 end Set_Do_Division_Check;
3752 procedure Set_Do_Length_Check
3753 (N : Node_Id; Val : Boolean := True) is
3755 pragma Assert (False
3756 or else NT (N).Nkind = N_Assignment_Statement
3757 or else NT (N).Nkind = N_Op_And
3758 or else NT (N).Nkind = N_Op_Or
3759 or else NT (N).Nkind = N_Op_Xor
3760 or else NT (N).Nkind = N_Type_Conversion);
3762 end Set_Do_Length_Check;
3764 procedure Set_Do_Overflow_Check
3765 (N : Node_Id; Val : Boolean := True) is
3767 pragma Assert (False
3768 or else NT (N).Nkind in N_Op
3769 or else NT (N).Nkind = N_Attribute_Reference
3770 or else NT (N).Nkind = N_Type_Conversion);
3771 Set_Flag17 (N, Val);
3772 end Set_Do_Overflow_Check;
3774 procedure Set_Do_Range_Check
3775 (N : Node_Id; Val : Boolean := True) is
3777 pragma Assert (False
3778 or else NT (N).Nkind in N_Subexpr);
3780 end Set_Do_Range_Check;
3782 procedure Set_Do_Storage_Check
3783 (N : Node_Id; Val : Boolean := True) is
3785 pragma Assert (False
3786 or else NT (N).Nkind = N_Allocator
3787 or else NT (N).Nkind = N_Subprogram_Body);
3788 Set_Flag17 (N, Val);
3789 end Set_Do_Storage_Check;
3791 procedure Set_Do_Tag_Check
3792 (N : Node_Id; Val : Boolean := True) is
3794 pragma Assert (False
3795 or else NT (N).Nkind = N_Assignment_Statement
3796 or else NT (N).Nkind = N_Extended_Return_Statement
3797 or else NT (N).Nkind = N_Function_Call
3798 or else NT (N).Nkind = N_Procedure_Call_Statement
3799 or else NT (N).Nkind = N_Return_Statement
3800 or else NT (N).Nkind = N_Type_Conversion);
3801 Set_Flag13 (N, Val);
3802 end Set_Do_Tag_Check;
3804 procedure Set_Elaborate_All_Desirable
3805 (N : Node_Id; Val : Boolean := True) is
3807 pragma Assert (False
3808 or else NT (N).Nkind = N_With_Clause);
3810 end Set_Elaborate_All_Desirable;
3812 procedure Set_Elaborate_All_Present
3813 (N : Node_Id; Val : Boolean := True) is
3815 pragma Assert (False
3816 or else NT (N).Nkind = N_With_Clause);
3817 Set_Flag14 (N, Val);
3818 end Set_Elaborate_All_Present;
3820 procedure Set_Elaborate_Desirable
3821 (N : Node_Id; Val : Boolean := True) is
3823 pragma Assert (False
3824 or else NT (N).Nkind = N_With_Clause);
3825 Set_Flag11 (N, Val);
3826 end Set_Elaborate_Desirable;
3828 procedure Set_Elaborate_Present
3829 (N : Node_Id; Val : Boolean := True) is
3831 pragma Assert (False
3832 or else NT (N).Nkind = N_With_Clause);
3834 end Set_Elaborate_Present;
3836 procedure Set_Elaboration_Boolean
3837 (N : Node_Id; Val : Node_Id) is
3839 pragma Assert (False
3840 or else NT (N).Nkind = N_Function_Specification
3841 or else NT (N).Nkind = N_Procedure_Specification);
3843 end Set_Elaboration_Boolean;
3845 procedure Set_Else_Actions
3846 (N : Node_Id; Val : List_Id) is
3848 pragma Assert (False
3849 or else NT (N).Nkind = N_Conditional_Expression);
3850 Set_List3 (N, Val); -- semantic field, no parent set
3851 end Set_Else_Actions;
3853 procedure Set_Else_Statements
3854 (N : Node_Id; Val : List_Id) is
3856 pragma Assert (False
3857 or else NT (N).Nkind = N_Conditional_Entry_Call
3858 or else NT (N).Nkind = N_If_Statement
3859 or else NT (N).Nkind = N_Selective_Accept);
3860 Set_List4_With_Parent (N, Val);
3861 end Set_Else_Statements;
3863 procedure Set_Elsif_Parts
3864 (N : Node_Id; Val : List_Id) is
3866 pragma Assert (False
3867 or else NT (N).Nkind = N_If_Statement);
3868 Set_List3_With_Parent (N, Val);
3869 end Set_Elsif_Parts;
3871 procedure Set_Enclosing_Variant
3872 (N : Node_Id; Val : Node_Id) is
3874 pragma Assert (False
3875 or else NT (N).Nkind = N_Variant);
3876 Set_Node2 (N, Val); -- semantic field, no parent set
3877 end Set_Enclosing_Variant;
3879 procedure Set_End_Label
3880 (N : Node_Id; Val : Node_Id) is
3882 pragma Assert (False
3883 or else NT (N).Nkind = N_Enumeration_Type_Definition
3884 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
3885 or else NT (N).Nkind = N_Loop_Statement
3886 or else NT (N).Nkind = N_Package_Specification
3887 or else NT (N).Nkind = N_Protected_Body
3888 or else NT (N).Nkind = N_Protected_Definition
3889 or else NT (N).Nkind = N_Record_Definition
3890 or else NT (N).Nkind = N_Task_Definition);
3891 Set_Node4_With_Parent (N, Val);
3894 procedure Set_End_Span
3895 (N : Node_Id; Val : Uint) is
3897 pragma Assert (False
3898 or else NT (N).Nkind = N_Case_Statement
3899 or else NT (N).Nkind = N_If_Statement);
3903 procedure Set_Entity
3904 (N : Node_Id; Val : Node_Id) is
3906 pragma Assert (False
3907 or else NT (N).Nkind in N_Has_Entity
3908 or else NT (N).Nkind = N_Freeze_Entity
3909 or else NT (N).Nkind = N_Attribute_Definition_Clause);
3910 Set_Node4 (N, Val); -- semantic field, no parent set
3913 procedure Set_Entry_Body_Formal_Part
3914 (N : Node_Id; Val : Node_Id) is
3916 pragma Assert (False
3917 or else NT (N).Nkind = N_Entry_Body);
3918 Set_Node5_With_Parent (N, Val);
3919 end Set_Entry_Body_Formal_Part;
3921 procedure Set_Entry_Call_Alternative
3922 (N : Node_Id; Val : Node_Id) is
3924 pragma Assert (False
3925 or else NT (N).Nkind = N_Conditional_Entry_Call
3926 or else NT (N).Nkind = N_Timed_Entry_Call);
3927 Set_Node1_With_Parent (N, Val);
3928 end Set_Entry_Call_Alternative;
3930 procedure Set_Entry_Call_Statement
3931 (N : Node_Id; Val : Node_Id) is
3933 pragma Assert (False
3934 or else NT (N).Nkind = N_Entry_Call_Alternative);
3935 Set_Node1_With_Parent (N, Val);
3936 end Set_Entry_Call_Statement;
3938 procedure Set_Entry_Direct_Name
3939 (N : Node_Id; Val : Node_Id) is
3941 pragma Assert (False
3942 or else NT (N).Nkind = N_Accept_Statement);
3943 Set_Node1_With_Parent (N, Val);
3944 end Set_Entry_Direct_Name;
3946 procedure Set_Entry_Index
3947 (N : Node_Id; Val : Node_Id) is
3949 pragma Assert (False
3950 or else NT (N).Nkind = N_Accept_Statement);
3951 Set_Node5_With_Parent (N, Val);
3952 end Set_Entry_Index;
3954 procedure Set_Entry_Index_Specification
3955 (N : Node_Id; Val : Node_Id) is
3957 pragma Assert (False
3958 or else NT (N).Nkind = N_Entry_Body_Formal_Part);
3959 Set_Node4_With_Parent (N, Val);
3960 end Set_Entry_Index_Specification;
3963 (N : Node_Id; Val : Node_Id) is
3965 pragma Assert (False
3966 or else NT (N).Nkind in N_Has_Etype);
3967 Set_Node5 (N, Val); -- semantic field, no parent set
3970 procedure Set_Exception_Choices
3971 (N : Node_Id; Val : List_Id) is
3973 pragma Assert (False
3974 or else NT (N).Nkind = N_Exception_Handler);
3975 Set_List4_With_Parent (N, Val);
3976 end Set_Exception_Choices;
3978 procedure Set_Exception_Handlers
3979 (N : Node_Id; Val : List_Id) is
3981 pragma Assert (False
3982 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
3983 Set_List5_With_Parent (N, Val);
3984 end Set_Exception_Handlers;
3986 procedure Set_Exception_Junk
3987 (N : Node_Id; Val : Boolean := True) is
3989 pragma Assert (False
3990 or else NT (N).Nkind = N_Block_Statement
3991 or else NT (N).Nkind = N_Goto_Statement
3992 or else NT (N).Nkind = N_Label
3993 or else NT (N).Nkind = N_Object_Declaration
3994 or else NT (N).Nkind = N_Subtype_Declaration);
3996 end Set_Exception_Junk;
3998 procedure Set_Exception_Label
3999 (N : Node_Id; Val : Node_Id) is
4001 pragma Assert (False
4002 or else NT (N).Nkind = N_Exception_Handler
4003 or else NT (N).Nkind = N_Push_Constraint_Error_Label
4004 or else NT (N).Nkind = N_Push_Program_Error_Label
4005 or else NT (N).Nkind = N_Push_Storage_Error_Label);
4006 Set_Node5 (N, Val); -- semantic field, no parent set
4007 end Set_Exception_Label;
4009 procedure Set_Expansion_Delayed
4010 (N : Node_Id; Val : Boolean := True) is
4012 pragma Assert (False
4013 or else NT (N).Nkind = N_Aggregate
4014 or else NT (N).Nkind = N_Extension_Aggregate);
4015 Set_Flag11 (N, Val);
4016 end Set_Expansion_Delayed;
4018 procedure Set_Explicit_Actual_Parameter
4019 (N : Node_Id; Val : Node_Id) is
4021 pragma Assert (False
4022 or else NT (N).Nkind = N_Parameter_Association);
4023 Set_Node3_With_Parent (N, Val);
4024 end Set_Explicit_Actual_Parameter;
4026 procedure Set_Explicit_Generic_Actual_Parameter
4027 (N : Node_Id; Val : Node_Id) is
4029 pragma Assert (False
4030 or else NT (N).Nkind = N_Generic_Association);
4031 Set_Node1_With_Parent (N, Val);
4032 end Set_Explicit_Generic_Actual_Parameter;
4034 procedure Set_Expression
4035 (N : Node_Id; Val : Node_Id) is
4037 pragma Assert (False
4038 or else NT (N).Nkind = N_Allocator
4039 or else NT (N).Nkind = N_Assignment_Statement
4040 or else NT (N).Nkind = N_At_Clause
4041 or else NT (N).Nkind = N_Attribute_Definition_Clause
4042 or else NT (N).Nkind = N_Case_Statement
4043 or else NT (N).Nkind = N_Code_Statement
4044 or else NT (N).Nkind = N_Component_Association
4045 or else NT (N).Nkind = N_Component_Declaration
4046 or else NT (N).Nkind = N_Delay_Relative_Statement
4047 or else NT (N).Nkind = N_Delay_Until_Statement
4048 or else NT (N).Nkind = N_Discriminant_Association
4049 or else NT (N).Nkind = N_Discriminant_Specification
4050 or else NT (N).Nkind = N_Exception_Declaration
4051 or else NT (N).Nkind = N_Free_Statement
4052 or else NT (N).Nkind = N_Mod_Clause
4053 or else NT (N).Nkind = N_Modular_Type_Definition
4054 or else NT (N).Nkind = N_Number_Declaration
4055 or else NT (N).Nkind = N_Object_Declaration
4056 or else NT (N).Nkind = N_Parameter_Specification
4057 or else NT (N).Nkind = N_Pragma_Argument_Association
4058 or else NT (N).Nkind = N_Qualified_Expression
4059 or else NT (N).Nkind = N_Raise_Statement
4060 or else NT (N).Nkind = N_Return_Statement
4061 or else NT (N).Nkind = N_Type_Conversion
4062 or else NT (N).Nkind = N_Unchecked_Expression
4063 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
4064 Set_Node3_With_Parent (N, Val);
4067 procedure Set_Expressions
4068 (N : Node_Id; Val : List_Id) is
4070 pragma Assert (False
4071 or else NT (N).Nkind = N_Aggregate
4072 or else NT (N).Nkind = N_Attribute_Reference
4073 or else NT (N).Nkind = N_Conditional_Expression
4074 or else NT (N).Nkind = N_Extension_Aggregate
4075 or else NT (N).Nkind = N_Indexed_Component);
4076 Set_List1_With_Parent (N, Val);
4077 end Set_Expressions;
4079 procedure Set_First_Bit
4080 (N : Node_Id; Val : Node_Id) is
4082 pragma Assert (False
4083 or else NT (N).Nkind = N_Component_Clause);
4084 Set_Node3_With_Parent (N, Val);
4087 procedure Set_First_Inlined_Subprogram
4088 (N : Node_Id; Val : Entity_Id) is
4090 pragma Assert (False
4091 or else NT (N).Nkind = N_Compilation_Unit);
4092 Set_Node3 (N, Val); -- semantic field, no parent set
4093 end Set_First_Inlined_Subprogram;
4095 procedure Set_First_Name
4096 (N : Node_Id; Val : Boolean := True) is
4098 pragma Assert (False
4099 or else NT (N).Nkind = N_With_Clause);
4103 procedure Set_First_Named_Actual
4104 (N : Node_Id; Val : Node_Id) is
4106 pragma Assert (False
4107 or else NT (N).Nkind = N_Entry_Call_Statement
4108 or else NT (N).Nkind = N_Function_Call
4109 or else NT (N).Nkind = N_Procedure_Call_Statement);
4110 Set_Node4 (N, Val); -- semantic field, no parent set
4111 end Set_First_Named_Actual;
4113 procedure Set_First_Real_Statement
4114 (N : Node_Id; Val : Node_Id) is
4116 pragma Assert (False
4117 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
4118 Set_Node2 (N, Val); -- semantic field, no parent set
4119 end Set_First_Real_Statement;
4121 procedure Set_First_Subtype_Link
4122 (N : Node_Id; Val : Entity_Id) is
4124 pragma Assert (False
4125 or else NT (N).Nkind = N_Freeze_Entity);
4126 Set_Node5 (N, Val); -- semantic field, no parent set
4127 end Set_First_Subtype_Link;
4129 procedure Set_Float_Truncate
4130 (N : Node_Id; Val : Boolean := True) is
4132 pragma Assert (False
4133 or else NT (N).Nkind = N_Type_Conversion);
4134 Set_Flag11 (N, Val);
4135 end Set_Float_Truncate;
4137 procedure Set_Formal_Type_Definition
4138 (N : Node_Id; Val : Node_Id) is
4140 pragma Assert (False
4141 or else NT (N).Nkind = N_Formal_Type_Declaration);
4142 Set_Node3_With_Parent (N, Val);
4143 end Set_Formal_Type_Definition;
4145 procedure Set_Forwards_OK
4146 (N : Node_Id; Val : Boolean := True) is
4148 pragma Assert (False
4149 or else NT (N).Nkind = N_Assignment_Statement);
4151 end Set_Forwards_OK;
4153 procedure Set_From_At_End
4154 (N : Node_Id; Val : Boolean := True) is
4156 pragma Assert (False
4157 or else NT (N).Nkind = N_Raise_Statement);
4159 end Set_From_At_End;
4161 procedure Set_From_At_Mod
4162 (N : Node_Id; Val : Boolean := True) is
4164 pragma Assert (False
4165 or else NT (N).Nkind = N_Attribute_Definition_Clause);
4167 end Set_From_At_Mod;
4169 procedure Set_From_Default
4170 (N : Node_Id; Val : Boolean := True) is
4172 pragma Assert (False
4173 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
4175 end Set_From_Default;
4177 procedure Set_Generic_Associations
4178 (N : Node_Id; Val : List_Id) is
4180 pragma Assert (False
4181 or else NT (N).Nkind = N_Formal_Package_Declaration
4182 or else NT (N).Nkind = N_Function_Instantiation
4183 or else NT (N).Nkind = N_Package_Instantiation
4184 or else NT (N).Nkind = N_Procedure_Instantiation);
4185 Set_List3_With_Parent (N, Val);
4186 end Set_Generic_Associations;
4188 procedure Set_Generic_Formal_Declarations
4189 (N : Node_Id; Val : List_Id) is
4191 pragma Assert (False
4192 or else NT (N).Nkind = N_Generic_Package_Declaration
4193 or else NT (N).Nkind = N_Generic_Subprogram_Declaration);
4194 Set_List2_With_Parent (N, Val);
4195 end Set_Generic_Formal_Declarations;
4197 procedure Set_Generic_Parent
4198 (N : Node_Id; Val : Node_Id) is
4200 pragma Assert (False
4201 or else NT (N).Nkind = N_Function_Specification
4202 or else NT (N).Nkind = N_Package_Specification
4203 or else NT (N).Nkind = N_Procedure_Specification);
4205 end Set_Generic_Parent;
4207 procedure Set_Generic_Parent_Type
4208 (N : Node_Id; Val : Node_Id) is
4210 pragma Assert (False
4211 or else NT (N).Nkind = N_Subtype_Declaration);
4213 end Set_Generic_Parent_Type;
4215 procedure Set_Handled_Statement_Sequence
4216 (N : Node_Id; Val : Node_Id) is
4218 pragma Assert (False
4219 or else NT (N).Nkind = N_Accept_Statement
4220 or else NT (N).Nkind = N_Block_Statement
4221 or else NT (N).Nkind = N_Entry_Body
4222 or else NT (N).Nkind = N_Extended_Return_Statement
4223 or else NT (N).Nkind = N_Package_Body
4224 or else NT (N).Nkind = N_Subprogram_Body
4225 or else NT (N).Nkind = N_Task_Body);
4226 Set_Node4_With_Parent (N, Val);
4227 end Set_Handled_Statement_Sequence;
4229 procedure Set_Handler_List_Entry
4230 (N : Node_Id; Val : Node_Id) is
4232 pragma Assert (False
4233 or else NT (N).Nkind = N_Object_Declaration);
4235 end Set_Handler_List_Entry;
4237 procedure Set_Has_Created_Identifier
4238 (N : Node_Id; Val : Boolean := True) is
4240 pragma Assert (False
4241 or else NT (N).Nkind = N_Block_Statement
4242 or else NT (N).Nkind = N_Loop_Statement);
4243 Set_Flag15 (N, Val);
4244 end Set_Has_Created_Identifier;
4246 procedure Set_Has_Dynamic_Length_Check
4247 (N : Node_Id; Val : Boolean := True) is
4249 Set_Flag10 (N, Val);
4250 end Set_Has_Dynamic_Length_Check;
4252 procedure Set_Has_Dynamic_Range_Check
4253 (N : Node_Id; Val : Boolean := True) is
4255 Set_Flag12 (N, Val);
4256 end Set_Has_Dynamic_Range_Check;
4258 procedure Set_Has_Init_Expression
4259 (N : Node_Id; Val : Boolean := True) is
4261 pragma Assert (False
4262 or else NT (N).Nkind = N_Object_Declaration);
4263 Set_Flag14 (N, Val);
4264 end Set_Has_Init_Expression;
4266 procedure Set_Has_Local_Raise
4267 (N : Node_Id; Val : Boolean := True) is
4269 pragma Assert (False
4270 or else NT (N).Nkind = N_Exception_Handler);
4272 end Set_Has_Local_Raise;
4274 procedure Set_Has_No_Elaboration_Code
4275 (N : Node_Id; Val : Boolean := True) is
4277 pragma Assert (False
4278 or else NT (N).Nkind = N_Compilation_Unit);
4279 Set_Flag17 (N, Val);
4280 end Set_Has_No_Elaboration_Code;
4282 procedure Set_Has_Priority_Pragma
4283 (N : Node_Id; Val : Boolean := True) is
4285 pragma Assert (False
4286 or else NT (N).Nkind = N_Protected_Definition
4287 or else NT (N).Nkind = N_Subprogram_Body
4288 or else NT (N).Nkind = N_Task_Definition);
4290 end Set_Has_Priority_Pragma;
4292 procedure Set_Has_Private_View
4293 (N : Node_Id; Val : Boolean := True) is
4295 pragma Assert (False
4296 or else NT (N).Nkind in N_Op
4297 or else NT (N).Nkind = N_Character_Literal
4298 or else NT (N).Nkind = N_Expanded_Name
4299 or else NT (N).Nkind = N_Identifier
4300 or else NT (N).Nkind = N_Operator_Symbol);
4301 Set_Flag11 (N, Val);
4302 end Set_Has_Private_View;
4304 procedure Set_Has_Relative_Deadline_Pragma
4305 (N : Node_Id; Val : Boolean := True) is
4307 pragma Assert (False
4308 or else NT (N).Nkind = N_Subprogram_Body
4309 or else NT (N).Nkind = N_Task_Definition);
4311 end Set_Has_Relative_Deadline_Pragma;
4313 procedure Set_Has_Self_Reference
4314 (N : Node_Id; Val : Boolean := True) is
4316 pragma Assert (False
4317 or else NT (N).Nkind = N_Aggregate
4318 or else NT (N).Nkind = N_Extension_Aggregate);
4319 Set_Flag13 (N, Val);
4320 end Set_Has_Self_Reference;
4322 procedure Set_Has_Storage_Size_Pragma
4323 (N : Node_Id; Val : Boolean := True) is
4325 pragma Assert (False
4326 or else NT (N).Nkind = N_Task_Definition);
4328 end Set_Has_Storage_Size_Pragma;
4330 procedure Set_Has_Task_Info_Pragma
4331 (N : Node_Id; Val : Boolean := True) is
4333 pragma Assert (False
4334 or else NT (N).Nkind = N_Task_Definition);
4336 end Set_Has_Task_Info_Pragma;
4338 procedure Set_Has_Task_Name_Pragma
4339 (N : Node_Id; Val : Boolean := True) is
4341 pragma Assert (False
4342 or else NT (N).Nkind = N_Task_Definition);
4344 end Set_Has_Task_Name_Pragma;
4346 procedure Set_Has_Wide_Character
4347 (N : Node_Id; Val : Boolean := True) is
4349 pragma Assert (False
4350 or else NT (N).Nkind = N_String_Literal);
4351 Set_Flag11 (N, Val);
4352 end Set_Has_Wide_Character;
4354 procedure Set_Hidden_By_Use_Clause
4355 (N : Node_Id; Val : Elist_Id) is
4357 pragma Assert (False
4358 or else NT (N).Nkind = N_Use_Package_Clause
4359 or else NT (N).Nkind = N_Use_Type_Clause);
4360 Set_Elist4 (N, Val);
4361 end Set_Hidden_By_Use_Clause;
4363 procedure Set_High_Bound
4364 (N : Node_Id; Val : Node_Id) is
4366 pragma Assert (False
4367 or else NT (N).Nkind = N_Range
4368 or else NT (N).Nkind = N_Real_Range_Specification
4369 or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
4370 Set_Node2_With_Parent (N, Val);
4373 procedure Set_Identifier
4374 (N : Node_Id; Val : Node_Id) is
4376 pragma Assert (False
4377 or else NT (N).Nkind = N_At_Clause
4378 or else NT (N).Nkind = N_Block_Statement
4379 or else NT (N).Nkind = N_Designator
4380 or else NT (N).Nkind = N_Enumeration_Representation_Clause
4381 or else NT (N).Nkind = N_Label
4382 or else NT (N).Nkind = N_Loop_Statement
4383 or else NT (N).Nkind = N_Record_Representation_Clause
4384 or else NT (N).Nkind = N_Subprogram_Info);
4385 Set_Node1_With_Parent (N, Val);
4388 procedure Set_Implicit_With
4389 (N : Node_Id; Val : Boolean := True) is
4391 pragma Assert (False
4392 or else NT (N).Nkind = N_With_Clause);
4393 Set_Flag16 (N, Val);
4394 end Set_Implicit_With;
4396 procedure Set_Interface_List
4397 (N : Node_Id; Val : List_Id) is
4399 pragma Assert (False
4400 or else NT (N).Nkind = N_Derived_Type_Definition
4401 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
4402 or else NT (N).Nkind = N_Private_Extension_Declaration
4403 or else NT (N).Nkind = N_Protected_Type_Declaration
4404 or else NT (N).Nkind = N_Record_Definition
4405 or else NT (N).Nkind = N_Single_Protected_Declaration
4406 or else NT (N).Nkind = N_Single_Task_Declaration
4407 or else NT (N).Nkind = N_Task_Type_Declaration);
4408 Set_List2_With_Parent (N, Val);
4409 end Set_Interface_List;
4411 procedure Set_Interface_Present
4412 (N : Node_Id; Val : Boolean := True) is
4414 pragma Assert (False
4415 or else NT (N).Nkind = N_Derived_Type_Definition
4416 or else NT (N).Nkind = N_Record_Definition);
4417 Set_Flag16 (N, Val);
4418 end Set_Interface_Present;
4420 procedure Set_In_Present
4421 (N : Node_Id; Val : Boolean := True) is
4423 pragma Assert (False
4424 or else NT (N).Nkind = N_Formal_Object_Declaration
4425 or else NT (N).Nkind = N_Parameter_Specification);
4426 Set_Flag15 (N, Val);
4429 procedure Set_Includes_Infinities
4430 (N : Node_Id; Val : Boolean := True) is
4432 pragma Assert (False
4433 or else NT (N).Nkind = N_Range);
4434 Set_Flag11 (N, Val);
4435 end Set_Includes_Infinities;
4437 procedure Set_Instance_Spec
4438 (N : Node_Id; Val : Node_Id) is
4440 pragma Assert (False
4441 or else NT (N).Nkind = N_Formal_Package_Declaration
4442 or else NT (N).Nkind = N_Function_Instantiation
4443 or else NT (N).Nkind = N_Package_Instantiation
4444 or else NT (N).Nkind = N_Procedure_Instantiation);
4445 Set_Node5 (N, Val); -- semantic field, no Parent set
4446 end Set_Instance_Spec;
4448 procedure Set_Intval
4449 (N : Node_Id; Val : Uint) is
4451 pragma Assert (False
4452 or else NT (N).Nkind = N_Integer_Literal);
4456 procedure Set_Is_Accessibility_Actual
4457 (N : Node_Id; Val : Boolean := True) is
4459 pragma Assert (False
4460 or else NT (N).Nkind = N_Parameter_Association);
4461 Set_Flag12 (N, Val);
4462 end Set_Is_Accessibility_Actual;
4464 procedure Set_Is_Asynchronous_Call_Block
4465 (N : Node_Id; Val : Boolean := True) is
4467 pragma Assert (False
4468 or else NT (N).Nkind = N_Block_Statement);
4470 end Set_Is_Asynchronous_Call_Block;
4472 procedure Set_Is_Component_Left_Opnd
4473 (N : Node_Id; Val : Boolean := True) is
4475 pragma Assert (False
4476 or else NT (N).Nkind = N_Op_Concat);
4477 Set_Flag13 (N, Val);
4478 end Set_Is_Component_Left_Opnd;
4480 procedure Set_Is_Component_Right_Opnd
4481 (N : Node_Id; Val : Boolean := True) is
4483 pragma Assert (False
4484 or else NT (N).Nkind = N_Op_Concat);
4485 Set_Flag14 (N, Val);
4486 end Set_Is_Component_Right_Opnd;
4488 procedure Set_Is_Controlling_Actual
4489 (N : Node_Id; Val : Boolean := True) is
4491 pragma Assert (False
4492 or else NT (N).Nkind in N_Subexpr);
4493 Set_Flag16 (N, Val);
4494 end Set_Is_Controlling_Actual;
4496 procedure Set_Is_Dynamic_Coextension
4497 (N : Node_Id; Val : Boolean := True) is
4499 pragma Assert (False
4500 or else NT (N).Nkind = N_Allocator);
4501 Set_Flag18 (N, Val);
4502 end Set_Is_Dynamic_Coextension;
4504 procedure Set_Is_Elsif
4505 (N : Node_Id; Val : Boolean := True) is
4507 pragma Assert (False
4508 or else NT (N).Nkind = N_Conditional_Expression);
4509 Set_Flag13 (N, Val);
4512 procedure Set_Is_Entry_Barrier_Function
4513 (N : Node_Id; Val : Boolean := True) is
4515 pragma Assert (False
4516 or else NT (N).Nkind = N_Subprogram_Body);
4518 end Set_Is_Entry_Barrier_Function;
4520 procedure Set_Is_Expanded_Build_In_Place_Call
4521 (N : Node_Id; Val : Boolean := True) is
4523 pragma Assert (False
4524 or else NT (N).Nkind = N_Function_Call);
4525 Set_Flag11 (N, Val);
4526 end Set_Is_Expanded_Build_In_Place_Call;
4528 procedure Set_Is_Folded_In_Parser
4529 (N : Node_Id; Val : Boolean := True) is
4531 pragma Assert (False
4532 or else NT (N).Nkind = N_String_Literal);
4534 end Set_Is_Folded_In_Parser;
4536 procedure Set_Is_In_Discriminant_Check
4537 (N : Node_Id; Val : Boolean := True) is
4539 pragma Assert (False
4540 or else NT (N).Nkind = N_Selected_Component);
4541 Set_Flag11 (N, Val);
4542 end Set_Is_In_Discriminant_Check;
4544 procedure Set_Is_Machine_Number
4545 (N : Node_Id; Val : Boolean := True) is
4547 pragma Assert (False
4548 or else NT (N).Nkind = N_Real_Literal);
4549 Set_Flag11 (N, Val);
4550 end Set_Is_Machine_Number;
4552 procedure Set_Is_Null_Loop
4553 (N : Node_Id; Val : Boolean := True) is
4555 pragma Assert (False
4556 or else NT (N).Nkind = N_Loop_Statement);
4557 Set_Flag16 (N, Val);
4558 end Set_Is_Null_Loop;
4560 procedure Set_Is_Overloaded
4561 (N : Node_Id; Val : Boolean := True) is
4563 pragma Assert (False
4564 or else NT (N).Nkind in N_Subexpr);
4566 end Set_Is_Overloaded;
4568 procedure Set_Is_Power_Of_2_For_Shift
4569 (N : Node_Id; Val : Boolean := True) is
4571 pragma Assert (False
4572 or else NT (N).Nkind = N_Op_Expon);
4573 Set_Flag13 (N, Val);
4574 end Set_Is_Power_Of_2_For_Shift;
4576 procedure Set_Is_Protected_Subprogram_Body
4577 (N : Node_Id; Val : Boolean := True) is
4579 pragma Assert (False
4580 or else NT (N).Nkind = N_Subprogram_Body);
4582 end Set_Is_Protected_Subprogram_Body;
4584 procedure Set_Is_Static_Coextension
4585 (N : Node_Id; Val : Boolean := True) is
4587 pragma Assert (False
4588 or else NT (N).Nkind = N_Allocator);
4589 Set_Flag14 (N, Val);
4590 end Set_Is_Static_Coextension;
4592 procedure Set_Is_Static_Expression
4593 (N : Node_Id; Val : Boolean := True) is
4595 pragma Assert (False
4596 or else NT (N).Nkind in N_Subexpr);
4598 end Set_Is_Static_Expression;
4600 procedure Set_Is_Subprogram_Descriptor
4601 (N : Node_Id; Val : Boolean := True) is
4603 pragma Assert (False
4604 or else NT (N).Nkind = N_Object_Declaration);
4605 Set_Flag16 (N, Val);
4606 end Set_Is_Subprogram_Descriptor;
4608 procedure Set_Is_Task_Allocation_Block
4609 (N : Node_Id; Val : Boolean := True) is
4611 pragma Assert (False
4612 or else NT (N).Nkind = N_Block_Statement);
4614 end Set_Is_Task_Allocation_Block;
4616 procedure Set_Is_Task_Master
4617 (N : Node_Id; Val : Boolean := True) is
4619 pragma Assert (False
4620 or else NT (N).Nkind = N_Block_Statement
4621 or else NT (N).Nkind = N_Subprogram_Body
4622 or else NT (N).Nkind = N_Task_Body);
4624 end Set_Is_Task_Master;
4626 procedure Set_Iteration_Scheme
4627 (N : Node_Id; Val : Node_Id) is
4629 pragma Assert (False
4630 or else NT (N).Nkind = N_Loop_Statement);
4631 Set_Node2_With_Parent (N, Val);
4632 end Set_Iteration_Scheme;
4635 (N : Node_Id; Val : Entity_Id) is
4637 pragma Assert (False
4638 or else NT (N).Nkind = N_Itype_Reference);
4639 Set_Node1 (N, Val); -- no parent, semantic field
4642 procedure Set_Kill_Range_Check
4643 (N : Node_Id; Val : Boolean := True) is
4645 pragma Assert (False
4646 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
4647 Set_Flag11 (N, Val);
4648 end Set_Kill_Range_Check;
4650 procedure Set_Label_Construct
4651 (N : Node_Id; Val : Node_Id) is
4653 pragma Assert (False
4654 or else NT (N).Nkind = N_Implicit_Label_Declaration);
4655 Set_Node2 (N, Val); -- semantic field, no parent set
4656 end Set_Label_Construct;
4658 procedure Set_Last_Bit
4659 (N : Node_Id; Val : Node_Id) is
4661 pragma Assert (False
4662 or else NT (N).Nkind = N_Component_Clause);
4663 Set_Node4_With_Parent (N, Val);
4666 procedure Set_Last_Name
4667 (N : Node_Id; Val : Boolean := True) is
4669 pragma Assert (False
4670 or else NT (N).Nkind = N_With_Clause);
4674 procedure Set_Left_Opnd
4675 (N : Node_Id; Val : Node_Id) is
4677 pragma Assert (False
4678 or else NT (N).Nkind = N_And_Then
4679 or else NT (N).Nkind = N_In
4680 or else NT (N).Nkind = N_Not_In
4681 or else NT (N).Nkind = N_Or_Else
4682 or else NT (N).Nkind in N_Binary_Op);
4683 Set_Node2_With_Parent (N, Val);
4686 procedure Set_Library_Unit
4687 (N : Node_Id; Val : Node_Id) is
4689 pragma Assert (False
4690 or else NT (N).Nkind = N_Compilation_Unit
4691 or else NT (N).Nkind = N_Package_Body_Stub
4692 or else NT (N).Nkind = N_Protected_Body_Stub
4693 or else NT (N).Nkind = N_Subprogram_Body_Stub
4694 or else NT (N).Nkind = N_Task_Body_Stub
4695 or else NT (N).Nkind = N_With_Clause);
4696 Set_Node4 (N, Val); -- semantic field, no parent set
4697 end Set_Library_Unit;
4699 procedure Set_Limited_View_Installed
4700 (N : Node_Id; Val : Boolean := True) is
4702 pragma Assert (False
4703 or else NT (N).Nkind = N_Package_Specification
4704 or else NT (N).Nkind = N_With_Clause);
4705 Set_Flag18 (N, Val);
4706 end Set_Limited_View_Installed;
4708 procedure Set_Limited_Present
4709 (N : Node_Id; Val : Boolean := True) is
4711 pragma Assert (False
4712 or else NT (N).Nkind = N_Derived_Type_Definition
4713 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
4714 or else NT (N).Nkind = N_Formal_Private_Type_Definition
4715 or else NT (N).Nkind = N_Private_Extension_Declaration
4716 or else NT (N).Nkind = N_Private_Type_Declaration
4717 or else NT (N).Nkind = N_Record_Definition
4718 or else NT (N).Nkind = N_With_Clause);
4719 Set_Flag17 (N, Val);
4720 end Set_Limited_Present;
4722 procedure Set_Literals
4723 (N : Node_Id; Val : List_Id) is
4725 pragma Assert (False
4726 or else NT (N).Nkind = N_Enumeration_Type_Definition);
4727 Set_List1_With_Parent (N, Val);
4730 procedure Set_Local_Raise_Not_OK
4731 (N : Node_Id; Val : Boolean := True) is
4733 pragma Assert (False
4734 or else NT (N).Nkind = N_Exception_Handler);
4736 end Set_Local_Raise_Not_OK;
4738 procedure Set_Local_Raise_Statements
4739 (N : Node_Id; Val : Elist_Id) is
4741 pragma Assert (False
4742 or else NT (N).Nkind = N_Exception_Handler);
4743 Set_Elist1 (N, Val);
4744 end Set_Local_Raise_Statements;
4746 procedure Set_Loop_Actions
4747 (N : Node_Id; Val : List_Id) is
4749 pragma Assert (False
4750 or else NT (N).Nkind = N_Component_Association);
4751 Set_List2 (N, Val); -- semantic field, no parent set
4752 end Set_Loop_Actions;
4754 procedure Set_Loop_Parameter_Specification
4755 (N : Node_Id; Val : Node_Id) is
4757 pragma Assert (False
4758 or else NT (N).Nkind = N_Iteration_Scheme);
4759 Set_Node4_With_Parent (N, Val);
4760 end Set_Loop_Parameter_Specification;
4762 procedure Set_Low_Bound
4763 (N : Node_Id; Val : Node_Id) is
4765 pragma Assert (False
4766 or else NT (N).Nkind = N_Range
4767 or else NT (N).Nkind = N_Real_Range_Specification
4768 or else NT (N).Nkind = N_Signed_Integer_Type_Definition);
4769 Set_Node1_With_Parent (N, Val);
4772 procedure Set_Mod_Clause
4773 (N : Node_Id; Val : Node_Id) is
4775 pragma Assert (False
4776 or else NT (N).Nkind = N_Record_Representation_Clause);
4777 Set_Node2_With_Parent (N, Val);
4780 procedure Set_More_Ids
4781 (N : Node_Id; Val : Boolean := True) is
4783 pragma Assert (False
4784 or else NT (N).Nkind = N_Component_Declaration
4785 or else NT (N).Nkind = N_Discriminant_Specification
4786 or else NT (N).Nkind = N_Exception_Declaration
4787 or else NT (N).Nkind = N_Formal_Object_Declaration
4788 or else NT (N).Nkind = N_Number_Declaration
4789 or else NT (N).Nkind = N_Object_Declaration
4790 or else NT (N).Nkind = N_Parameter_Specification);
4794 procedure Set_Must_Be_Byte_Aligned
4795 (N : Node_Id; Val : Boolean := True) is
4797 pragma Assert (False
4798 or else NT (N).Nkind = N_Attribute_Reference);
4799 Set_Flag14 (N, Val);
4800 end Set_Must_Be_Byte_Aligned;
4802 procedure Set_Must_Not_Freeze
4803 (N : Node_Id; Val : Boolean := True) is
4805 pragma Assert (False
4806 or else NT (N).Nkind = N_Subtype_Indication
4807 or else NT (N).Nkind in N_Subexpr);
4809 end Set_Must_Not_Freeze;
4811 procedure Set_Must_Not_Override
4812 (N : Node_Id; Val : Boolean := True) is
4814 pragma Assert (False
4815 or else NT (N).Nkind = N_Entry_Declaration
4816 or else NT (N).Nkind = N_Function_Instantiation
4817 or else NT (N).Nkind = N_Function_Specification
4818 or else NT (N).Nkind = N_Procedure_Instantiation
4819 or else NT (N).Nkind = N_Procedure_Specification);
4820 Set_Flag15 (N, Val);
4821 end Set_Must_Not_Override;
4823 procedure Set_Must_Override
4824 (N : Node_Id; Val : Boolean := True) is
4826 pragma Assert (False
4827 or else NT (N).Nkind = N_Entry_Declaration
4828 or else NT (N).Nkind = N_Function_Instantiation
4829 or else NT (N).Nkind = N_Function_Specification
4830 or else NT (N).Nkind = N_Procedure_Instantiation
4831 or else NT (N).Nkind = N_Procedure_Specification);
4832 Set_Flag14 (N, Val);
4833 end Set_Must_Override;
4836 (N : Node_Id; Val : Node_Id) is
4838 pragma Assert (False
4839 or else NT (N).Nkind = N_Assignment_Statement
4840 or else NT (N).Nkind = N_Attribute_Definition_Clause
4841 or else NT (N).Nkind = N_Defining_Program_Unit_Name
4842 or else NT (N).Nkind = N_Designator
4843 or else NT (N).Nkind = N_Entry_Call_Statement
4844 or else NT (N).Nkind = N_Exception_Renaming_Declaration
4845 or else NT (N).Nkind = N_Exit_Statement
4846 or else NT (N).Nkind = N_Formal_Package_Declaration
4847 or else NT (N).Nkind = N_Function_Call
4848 or else NT (N).Nkind = N_Function_Instantiation
4849 or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
4850 or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
4851 or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
4852 or else NT (N).Nkind = N_Goto_Statement
4853 or else NT (N).Nkind = N_Object_Renaming_Declaration
4854 or else NT (N).Nkind = N_Package_Instantiation
4855 or else NT (N).Nkind = N_Package_Renaming_Declaration
4856 or else NT (N).Nkind = N_Procedure_Call_Statement
4857 or else NT (N).Nkind = N_Procedure_Instantiation
4858 or else NT (N).Nkind = N_Raise_Statement
4859 or else NT (N).Nkind = N_Requeue_Statement
4860 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration
4861 or else NT (N).Nkind = N_Subunit
4862 or else NT (N).Nkind = N_Variant_Part
4863 or else NT (N).Nkind = N_With_Clause);
4864 Set_Node2_With_Parent (N, Val);
4868 (N : Node_Id; Val : List_Id) is
4870 pragma Assert (False
4871 or else NT (N).Nkind = N_Abort_Statement
4872 or else NT (N).Nkind = N_Use_Package_Clause);
4873 Set_List2_With_Parent (N, Val);
4876 procedure Set_Next_Entity
4877 (N : Node_Id; Val : Node_Id) is
4879 pragma Assert (False
4880 or else NT (N).Nkind = N_Defining_Character_Literal
4881 or else NT (N).Nkind = N_Defining_Identifier
4882 or else NT (N).Nkind = N_Defining_Operator_Symbol);
4883 Set_Node2 (N, Val); -- semantic field, no parent set
4884 end Set_Next_Entity;
4886 procedure Set_Next_Implicit_With
4887 (N : Node_Id; Val : Node_Id) is
4889 pragma Assert (False
4890 or else NT (N).Nkind = N_With_Clause);
4891 Set_Node3 (N, Val); -- semantic field, no parent set
4892 end Set_Next_Implicit_With;
4894 procedure Set_Next_Named_Actual
4895 (N : Node_Id; Val : Node_Id) is
4897 pragma Assert (False
4898 or else NT (N).Nkind = N_Parameter_Association);
4899 Set_Node4 (N, Val); -- semantic field, no parent set
4900 end Set_Next_Named_Actual;
4902 procedure Set_Next_Pragma
4903 (N : Node_Id; Val : Node_Id) is
4905 pragma Assert (False
4906 or else NT (N).Nkind = N_Pragma);
4907 Set_Node1 (N, Val); -- semantic field, no parent set
4908 end Set_Next_Pragma;
4910 procedure Set_Next_Rep_Item
4911 (N : Node_Id; Val : Node_Id) is
4913 pragma Assert (False
4914 or else NT (N).Nkind = N_Attribute_Definition_Clause
4915 or else NT (N).Nkind = N_Enumeration_Representation_Clause
4916 or else NT (N).Nkind = N_Pragma
4917 or else NT (N).Nkind = N_Record_Representation_Clause);
4918 Set_Node5 (N, Val); -- semantic field, no parent set
4919 end Set_Next_Rep_Item;
4921 procedure Set_Next_Use_Clause
4922 (N : Node_Id; Val : Node_Id) is
4924 pragma Assert (False
4925 or else NT (N).Nkind = N_Use_Package_Clause
4926 or else NT (N).Nkind = N_Use_Type_Clause);
4927 Set_Node3 (N, Val); -- semantic field, no parent set
4928 end Set_Next_Use_Clause;
4930 procedure Set_No_Ctrl_Actions
4931 (N : Node_Id; Val : Boolean := True) is
4933 pragma Assert (False
4934 or else NT (N).Nkind = N_Assignment_Statement);
4936 end Set_No_Ctrl_Actions;
4938 procedure Set_No_Elaboration_Check
4939 (N : Node_Id; Val : Boolean := True) is
4941 pragma Assert (False
4942 or else NT (N).Nkind = N_Function_Call
4943 or else NT (N).Nkind = N_Procedure_Call_Statement);
4944 Set_Flag14 (N, Val);
4945 end Set_No_Elaboration_Check;
4947 procedure Set_No_Entities_Ref_In_Spec
4948 (N : Node_Id; Val : Boolean := True) is
4950 pragma Assert (False
4951 or else NT (N).Nkind = N_With_Clause);
4953 end Set_No_Entities_Ref_In_Spec;
4955 procedure Set_No_Initialization
4956 (N : Node_Id; Val : Boolean := True) is
4958 pragma Assert (False
4959 or else NT (N).Nkind = N_Allocator
4960 or else NT (N).Nkind = N_Object_Declaration);
4961 Set_Flag13 (N, Val);
4962 end Set_No_Initialization;
4964 procedure Set_No_Truncation
4965 (N : Node_Id; Val : Boolean := True) is
4967 pragma Assert (False
4968 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
4969 Set_Flag17 (N, Val);
4970 end Set_No_Truncation;
4972 procedure Set_Null_Present
4973 (N : Node_Id; Val : Boolean := True) is
4975 pragma Assert (False
4976 or else NT (N).Nkind = N_Component_List
4977 or else NT (N).Nkind = N_Procedure_Specification
4978 or else NT (N).Nkind = N_Record_Definition);
4979 Set_Flag13 (N, Val);
4980 end Set_Null_Present;
4982 procedure Set_Null_Exclusion_Present
4983 (N : Node_Id; Val : Boolean := True) is
4985 pragma Assert (False
4986 or else NT (N).Nkind = N_Access_Definition
4987 or else NT (N).Nkind = N_Access_Function_Definition
4988 or else NT (N).Nkind = N_Access_Procedure_Definition
4989 or else NT (N).Nkind = N_Access_To_Object_Definition
4990 or else NT (N).Nkind = N_Allocator
4991 or else NT (N).Nkind = N_Component_Definition
4992 or else NT (N).Nkind = N_Derived_Type_Definition
4993 or else NT (N).Nkind = N_Discriminant_Specification
4994 or else NT (N).Nkind = N_Formal_Object_Declaration
4995 or else NT (N).Nkind = N_Function_Specification
4996 or else NT (N).Nkind = N_Object_Declaration
4997 or else NT (N).Nkind = N_Object_Renaming_Declaration
4998 or else NT (N).Nkind = N_Parameter_Specification
4999 or else NT (N).Nkind = N_Subtype_Declaration);
5000 Set_Flag11 (N, Val);
5001 end Set_Null_Exclusion_Present;
5003 procedure Set_Null_Exclusion_In_Return_Present
5004 (N : Node_Id; Val : Boolean := True) is
5006 pragma Assert (False
5007 or else NT (N).Nkind = N_Access_Function_Definition);
5008 Set_Flag14 (N, Val);
5009 end Set_Null_Exclusion_In_Return_Present;
5011 procedure Set_Null_Record_Present
5012 (N : Node_Id; Val : Boolean := True) is
5014 pragma Assert (False
5015 or else NT (N).Nkind = N_Aggregate
5016 or else NT (N).Nkind = N_Extension_Aggregate);
5017 Set_Flag17 (N, Val);
5018 end Set_Null_Record_Present;
5020 procedure Set_Object_Definition
5021 (N : Node_Id; Val : Node_Id) is
5023 pragma Assert (False
5024 or else NT (N).Nkind = N_Object_Declaration);
5025 Set_Node4_With_Parent (N, Val);
5026 end Set_Object_Definition;
5028 procedure Set_Original_Discriminant
5029 (N : Node_Id; Val : Node_Id) is
5031 pragma Assert (False
5032 or else NT (N).Nkind = N_Identifier);
5033 Set_Node2 (N, Val); -- semantic field, no parent set
5034 end Set_Original_Discriminant;
5036 procedure Set_Original_Entity
5037 (N : Node_Id; Val : Entity_Id) is
5039 pragma Assert (False
5040 or else NT (N).Nkind = N_Integer_Literal
5041 or else NT (N).Nkind = N_Real_Literal);
5042 Set_Node2 (N, Val); -- semantic field, no parent set
5043 end Set_Original_Entity;
5045 procedure Set_Others_Discrete_Choices
5046 (N : Node_Id; Val : List_Id) is
5048 pragma Assert (False
5049 or else NT (N).Nkind = N_Others_Choice);
5050 Set_List1_With_Parent (N, Val);
5051 end Set_Others_Discrete_Choices;
5053 procedure Set_Out_Present
5054 (N : Node_Id; Val : Boolean := True) is
5056 pragma Assert (False
5057 or else NT (N).Nkind = N_Formal_Object_Declaration
5058 or else NT (N).Nkind = N_Parameter_Specification);
5059 Set_Flag17 (N, Val);
5060 end Set_Out_Present;
5062 procedure Set_Parameter_Associations
5063 (N : Node_Id; Val : List_Id) is
5065 pragma Assert (False
5066 or else NT (N).Nkind = N_Entry_Call_Statement
5067 or else NT (N).Nkind = N_Function_Call
5068 or else NT (N).Nkind = N_Procedure_Call_Statement);
5069 Set_List3_With_Parent (N, Val);
5070 end Set_Parameter_Associations;
5072 procedure Set_Parameter_List_Truncated
5073 (N : Node_Id; Val : Boolean := True) is
5075 pragma Assert (False
5076 or else NT (N).Nkind = N_Function_Call
5077 or else NT (N).Nkind = N_Procedure_Call_Statement);
5078 Set_Flag17 (N, Val);
5079 end Set_Parameter_List_Truncated;
5081 procedure Set_Parameter_Specifications
5082 (N : Node_Id; Val : List_Id) is
5084 pragma Assert (False
5085 or else NT (N).Nkind = N_Accept_Statement
5086 or else NT (N).Nkind = N_Access_Function_Definition
5087 or else NT (N).Nkind = N_Access_Procedure_Definition
5088 or else NT (N).Nkind = N_Entry_Body_Formal_Part
5089 or else NT (N).Nkind = N_Entry_Declaration
5090 or else NT (N).Nkind = N_Function_Specification
5091 or else NT (N).Nkind = N_Procedure_Specification);
5092 Set_List3_With_Parent (N, Val);
5093 end Set_Parameter_Specifications;
5095 procedure Set_Parameter_Type
5096 (N : Node_Id; Val : Node_Id) is
5098 pragma Assert (False
5099 or else NT (N).Nkind = N_Parameter_Specification);
5100 Set_Node2_With_Parent (N, Val);
5101 end Set_Parameter_Type;
5103 procedure Set_Parent_Spec
5104 (N : Node_Id; Val : Node_Id) is
5106 pragma Assert (False
5107 or else NT (N).Nkind = N_Function_Instantiation
5108 or else NT (N).Nkind = N_Generic_Function_Renaming_Declaration
5109 or else NT (N).Nkind = N_Generic_Package_Declaration
5110 or else NT (N).Nkind = N_Generic_Package_Renaming_Declaration
5111 or else NT (N).Nkind = N_Generic_Procedure_Renaming_Declaration
5112 or else NT (N).Nkind = N_Generic_Subprogram_Declaration
5113 or else NT (N).Nkind = N_Package_Declaration
5114 or else NT (N).Nkind = N_Package_Instantiation
5115 or else NT (N).Nkind = N_Package_Renaming_Declaration
5116 or else NT (N).Nkind = N_Procedure_Instantiation
5117 or else NT (N).Nkind = N_Subprogram_Declaration
5118 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
5119 Set_Node4 (N, Val); -- semantic field, no parent set
5120 end Set_Parent_Spec;
5122 procedure Set_PPC_Enabled
5123 (N : Node_Id; Val : Boolean := True) is
5125 pragma Assert (False
5126 or else NT (N).Nkind = N_Pragma);
5128 end Set_PPC_Enabled;
5130 procedure Set_Position
5131 (N : Node_Id; Val : Node_Id) is
5133 pragma Assert (False
5134 or else NT (N).Nkind = N_Component_Clause);
5135 Set_Node2_With_Parent (N, Val);
5138 procedure Set_Pragma_Argument_Associations
5139 (N : Node_Id; Val : List_Id) is
5141 pragma Assert (False
5142 or else NT (N).Nkind = N_Pragma);
5143 Set_List2_With_Parent (N, Val);
5144 end Set_Pragma_Argument_Associations;
5146 procedure Set_Pragma_Identifier
5147 (N : Node_Id; Val : Node_Id) is
5149 pragma Assert (False
5150 or else NT (N).Nkind = N_Pragma);
5151 Set_Node4_With_Parent (N, Val);
5152 end Set_Pragma_Identifier;
5154 procedure Set_Pragmas_After
5155 (N : Node_Id; Val : List_Id) is
5157 pragma Assert (False
5158 or else NT (N).Nkind = N_Compilation_Unit_Aux
5159 or else NT (N).Nkind = N_Terminate_Alternative);
5160 Set_List5_With_Parent (N, Val);
5161 end Set_Pragmas_After;
5163 procedure Set_Pragmas_Before
5164 (N : Node_Id; Val : List_Id) is
5166 pragma Assert (False
5167 or else NT (N).Nkind = N_Accept_Alternative
5168 or else NT (N).Nkind = N_Delay_Alternative
5169 or else NT (N).Nkind = N_Entry_Call_Alternative
5170 or else NT (N).Nkind = N_Mod_Clause
5171 or else NT (N).Nkind = N_Terminate_Alternative
5172 or else NT (N).Nkind = N_Triggering_Alternative);
5173 Set_List4_With_Parent (N, Val);
5174 end Set_Pragmas_Before;
5176 procedure Set_Prefix
5177 (N : Node_Id; Val : Node_Id) is
5179 pragma Assert (False
5180 or else NT (N).Nkind = N_Attribute_Reference
5181 or else NT (N).Nkind = N_Expanded_Name
5182 or else NT (N).Nkind = N_Explicit_Dereference
5183 or else NT (N).Nkind = N_Indexed_Component
5184 or else NT (N).Nkind = N_Reference
5185 or else NT (N).Nkind = N_Selected_Component
5186 or else NT (N).Nkind = N_Slice);
5187 Set_Node3_With_Parent (N, Val);
5190 procedure Set_Present_Expr
5191 (N : Node_Id; Val : Uint) is
5193 pragma Assert (False
5194 or else NT (N).Nkind = N_Variant);
5196 end Set_Present_Expr;
5198 procedure Set_Prev_Ids
5199 (N : Node_Id; Val : Boolean := True) is
5201 pragma Assert (False
5202 or else NT (N).Nkind = N_Component_Declaration
5203 or else NT (N).Nkind = N_Discriminant_Specification
5204 or else NT (N).Nkind = N_Exception_Declaration
5205 or else NT (N).Nkind = N_Formal_Object_Declaration
5206 or else NT (N).Nkind = N_Number_Declaration
5207 or else NT (N).Nkind = N_Object_Declaration
5208 or else NT (N).Nkind = N_Parameter_Specification);
5212 procedure Set_Print_In_Hex
5213 (N : Node_Id; Val : Boolean := True) is
5215 pragma Assert (False
5216 or else NT (N).Nkind = N_Integer_Literal);
5217 Set_Flag13 (N, Val);
5218 end Set_Print_In_Hex;
5220 procedure Set_Private_Declarations
5221 (N : Node_Id; Val : List_Id) is
5223 pragma Assert (False
5224 or else NT (N).Nkind = N_Package_Specification
5225 or else NT (N).Nkind = N_Protected_Definition
5226 or else NT (N).Nkind = N_Task_Definition);
5227 Set_List3_With_Parent (N, Val);
5228 end Set_Private_Declarations;
5230 procedure Set_Private_Present
5231 (N : Node_Id; Val : Boolean := True) is
5233 pragma Assert (False
5234 or else NT (N).Nkind = N_Compilation_Unit
5235 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
5236 or else NT (N).Nkind = N_With_Clause);
5237 Set_Flag15 (N, Val);
5238 end Set_Private_Present;
5240 procedure Set_Procedure_To_Call
5241 (N : Node_Id; Val : Node_Id) is
5243 pragma Assert (False
5244 or else NT (N).Nkind = N_Allocator
5245 or else NT (N).Nkind = N_Extended_Return_Statement
5246 or else NT (N).Nkind = N_Free_Statement
5247 or else NT (N).Nkind = N_Return_Statement);
5248 Set_Node2 (N, Val); -- semantic field, no parent set
5249 end Set_Procedure_To_Call;
5251 procedure Set_Proper_Body
5252 (N : Node_Id; Val : Node_Id) is
5254 pragma Assert (False
5255 or else NT (N).Nkind = N_Subunit);
5256 Set_Node1_With_Parent (N, Val);
5257 end Set_Proper_Body;
5259 procedure Set_Protected_Definition
5260 (N : Node_Id; Val : Node_Id) is
5262 pragma Assert (False
5263 or else NT (N).Nkind = N_Protected_Type_Declaration
5264 or else NT (N).Nkind = N_Single_Protected_Declaration);
5265 Set_Node3_With_Parent (N, Val);
5266 end Set_Protected_Definition;
5268 procedure Set_Protected_Present
5269 (N : Node_Id; Val : Boolean := True) is
5271 pragma Assert (False
5272 or else NT (N).Nkind = N_Access_Function_Definition
5273 or else NT (N).Nkind = N_Access_Procedure_Definition
5274 or else NT (N).Nkind = N_Derived_Type_Definition
5275 or else NT (N).Nkind = N_Record_Definition);
5277 end Set_Protected_Present;
5279 procedure Set_Raises_Constraint_Error
5280 (N : Node_Id; Val : Boolean := True) is
5282 pragma Assert (False
5283 or else NT (N).Nkind in N_Subexpr);
5285 end Set_Raises_Constraint_Error;
5287 procedure Set_Range_Constraint
5288 (N : Node_Id; Val : Node_Id) is
5290 pragma Assert (False
5291 or else NT (N).Nkind = N_Delta_Constraint
5292 or else NT (N).Nkind = N_Digits_Constraint);
5293 Set_Node4_With_Parent (N, Val);
5294 end Set_Range_Constraint;
5296 procedure Set_Range_Expression
5297 (N : Node_Id; Val : Node_Id) is
5299 pragma Assert (False
5300 or else NT (N).Nkind = N_Range_Constraint);
5301 Set_Node4_With_Parent (N, Val);
5302 end Set_Range_Expression;
5304 procedure Set_Real_Range_Specification
5305 (N : Node_Id; Val : Node_Id) is
5307 pragma Assert (False
5308 or else NT (N).Nkind = N_Decimal_Fixed_Point_Definition
5309 or else NT (N).Nkind = N_Floating_Point_Definition
5310 or else NT (N).Nkind = N_Ordinary_Fixed_Point_Definition);
5311 Set_Node4_With_Parent (N, Val);
5312 end Set_Real_Range_Specification;
5314 procedure Set_Realval
5315 (N : Node_Id; Val : Ureal) is
5317 pragma Assert (False
5318 or else NT (N).Nkind = N_Real_Literal);
5319 Set_Ureal3 (N, Val);
5322 procedure Set_Reason
5323 (N : Node_Id; Val : Uint) is
5325 pragma Assert (False
5326 or else NT (N).Nkind = N_Raise_Constraint_Error
5327 or else NT (N).Nkind = N_Raise_Program_Error
5328 or else NT (N).Nkind = N_Raise_Storage_Error);
5332 procedure Set_Record_Extension_Part
5333 (N : Node_Id; Val : Node_Id) is
5335 pragma Assert (False
5336 or else NT (N).Nkind = N_Derived_Type_Definition);
5337 Set_Node3_With_Parent (N, Val);
5338 end Set_Record_Extension_Part;
5340 procedure Set_Redundant_Use
5341 (N : Node_Id; Val : Boolean := True) is
5343 pragma Assert (False
5344 or else NT (N).Nkind = N_Attribute_Reference
5345 or else NT (N).Nkind = N_Expanded_Name
5346 or else NT (N).Nkind = N_Identifier);
5347 Set_Flag13 (N, Val);
5348 end Set_Redundant_Use;
5350 procedure Set_Renaming_Exception
5351 (N : Node_Id; Val : Node_Id) is
5353 pragma Assert (False
5354 or else NT (N).Nkind = N_Exception_Declaration);
5356 end Set_Renaming_Exception;
5358 procedure Set_Result_Definition
5359 (N : Node_Id; Val : Node_Id) is
5361 pragma Assert (False
5362 or else NT (N).Nkind = N_Access_Function_Definition
5363 or else NT (N).Nkind = N_Function_Specification);
5364 Set_Node4_With_Parent (N, Val);
5365 end Set_Result_Definition;
5367 procedure Set_Return_Object_Declarations
5368 (N : Node_Id; Val : List_Id) is
5370 pragma Assert (False
5371 or else NT (N).Nkind = N_Extended_Return_Statement);
5372 Set_List3_With_Parent (N, Val);
5373 end Set_Return_Object_Declarations;
5375 procedure Set_Return_Statement_Entity
5376 (N : Node_Id; Val : Node_Id) is
5378 pragma Assert (False
5379 or else NT (N).Nkind = N_Extended_Return_Statement
5380 or else NT (N).Nkind = N_Return_Statement);
5381 Set_Node5 (N, Val); -- semantic field, no parent set
5382 end Set_Return_Statement_Entity;
5384 procedure Set_Reverse_Present
5385 (N : Node_Id; Val : Boolean := True) is
5387 pragma Assert (False
5388 or else NT (N).Nkind = N_Loop_Parameter_Specification);
5389 Set_Flag15 (N, Val);
5390 end Set_Reverse_Present;
5392 procedure Set_Right_Opnd
5393 (N : Node_Id; Val : Node_Id) is
5395 pragma Assert (False
5396 or else NT (N).Nkind in N_Op
5397 or else NT (N).Nkind = N_And_Then
5398 or else NT (N).Nkind = N_In
5399 or else NT (N).Nkind = N_Not_In
5400 or else NT (N).Nkind = N_Or_Else);
5401 Set_Node3_With_Parent (N, Val);
5404 procedure Set_Rounded_Result
5405 (N : Node_Id; Val : Boolean := True) is
5407 pragma Assert (False
5408 or else NT (N).Nkind = N_Op_Divide
5409 or else NT (N).Nkind = N_Op_Multiply
5410 or else NT (N).Nkind = N_Type_Conversion);
5411 Set_Flag18 (N, Val);
5412 end Set_Rounded_Result;
5414 procedure Set_SCIL_Controlling_Tag
5415 (N : Node_Id; Val : Node_Id) is
5417 pragma Assert (False
5418 or else NT (N).Nkind = N_SCIL_Dispatching_Call);
5419 Set_Node5 (N, Val); -- semantic field, no parent set
5420 end Set_SCIL_Controlling_Tag;
5422 procedure Set_SCIL_Entity
5423 (N : Node_Id; Val : Node_Id) is
5425 pragma Assert (False
5426 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Object_Init
5427 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Tag_Init
5428 or else NT (N).Nkind = N_SCIL_Dispatching_Call
5429 or else NT (N).Nkind = N_SCIL_Membership_Test
5430 or else NT (N).Nkind = N_SCIL_Tag_Init);
5431 Set_Node4 (N, Val); -- semantic field, no parent set
5432 end Set_SCIL_Entity;
5434 procedure Set_SCIL_Related_Node
5435 (N : Node_Id; Val : Node_Id) is
5437 pragma Assert (False
5438 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Object_Init
5439 or else NT (N).Nkind = N_SCIL_Dispatch_Table_Tag_Init
5440 or else NT (N).Nkind = N_SCIL_Dispatching_Call
5441 or else NT (N).Nkind = N_SCIL_Membership_Test
5442 or else NT (N).Nkind = N_SCIL_Tag_Init);
5443 Set_Node1 (N, Val); -- semantic field, no parent set
5444 end Set_SCIL_Related_Node;
5446 procedure Set_SCIL_Tag_Value
5447 (N : Node_Id; Val : Node_Id) is
5449 pragma Assert (False
5450 or else NT (N).Nkind = N_SCIL_Membership_Test);
5451 Set_Node5 (N, Val); -- semantic field, no parent set
5452 end Set_SCIL_Tag_Value;
5454 procedure Set_SCIL_Target_Prim
5455 (N : Node_Id; Val : Node_Id) is
5457 pragma Assert (False
5458 or else NT (N).Nkind = N_SCIL_Dispatching_Call);
5459 Set_Node2 (N, Val); -- semantic field, no parent set
5460 end Set_SCIL_Target_Prim;
5463 (N : Node_Id; Val : Node_Id) is
5465 pragma Assert (False
5466 or else NT (N).Nkind = N_Defining_Character_Literal
5467 or else NT (N).Nkind = N_Defining_Identifier
5468 or else NT (N).Nkind = N_Defining_Operator_Symbol);
5469 Set_Node3 (N, Val); -- semantic field, no parent set
5472 procedure Set_Select_Alternatives
5473 (N : Node_Id; Val : List_Id) is
5475 pragma Assert (False
5476 or else NT (N).Nkind = N_Selective_Accept);
5477 Set_List1_With_Parent (N, Val);
5478 end Set_Select_Alternatives;
5480 procedure Set_Selector_Name
5481 (N : Node_Id; Val : Node_Id) is
5483 pragma Assert (False
5484 or else NT (N).Nkind = N_Expanded_Name
5485 or else NT (N).Nkind = N_Generic_Association
5486 or else NT (N).Nkind = N_Parameter_Association
5487 or else NT (N).Nkind = N_Selected_Component);
5488 Set_Node2_With_Parent (N, Val);
5489 end Set_Selector_Name;
5491 procedure Set_Selector_Names
5492 (N : Node_Id; Val : List_Id) is
5494 pragma Assert (False
5495 or else NT (N).Nkind = N_Discriminant_Association);
5496 Set_List1_With_Parent (N, Val);
5497 end Set_Selector_Names;
5499 procedure Set_Shift_Count_OK
5500 (N : Node_Id; Val : Boolean := True) is
5502 pragma Assert (False
5503 or else NT (N).Nkind = N_Op_Rotate_Left
5504 or else NT (N).Nkind = N_Op_Rotate_Right
5505 or else NT (N).Nkind = N_Op_Shift_Left
5506 or else NT (N).Nkind = N_Op_Shift_Right
5507 or else NT (N).Nkind = N_Op_Shift_Right_Arithmetic);
5509 end Set_Shift_Count_OK;
5511 procedure Set_Source_Type
5512 (N : Node_Id; Val : Entity_Id) is
5514 pragma Assert (False
5515 or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
5516 Set_Node1 (N, Val); -- semantic field, no parent set
5517 end Set_Source_Type;
5519 procedure Set_Specification
5520 (N : Node_Id; Val : Node_Id) is
5522 pragma Assert (False
5523 or else NT (N).Nkind = N_Abstract_Subprogram_Declaration
5524 or else NT (N).Nkind = N_Formal_Abstract_Subprogram_Declaration
5525 or else NT (N).Nkind = N_Formal_Concrete_Subprogram_Declaration
5526 or else NT (N).Nkind = N_Generic_Package_Declaration
5527 or else NT (N).Nkind = N_Generic_Subprogram_Declaration
5528 or else NT (N).Nkind = N_Package_Declaration
5529 or else NT (N).Nkind = N_Subprogram_Body
5530 or else NT (N).Nkind = N_Subprogram_Body_Stub
5531 or else NT (N).Nkind = N_Subprogram_Declaration
5532 or else NT (N).Nkind = N_Subprogram_Renaming_Declaration);
5533 Set_Node1_With_Parent (N, Val);
5534 end Set_Specification;
5536 procedure Set_Statements
5537 (N : Node_Id; Val : List_Id) is
5539 pragma Assert (False
5540 or else NT (N).Nkind = N_Abortable_Part
5541 or else NT (N).Nkind = N_Accept_Alternative
5542 or else NT (N).Nkind = N_Case_Statement_Alternative
5543 or else NT (N).Nkind = N_Delay_Alternative
5544 or else NT (N).Nkind = N_Entry_Call_Alternative
5545 or else NT (N).Nkind = N_Exception_Handler
5546 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements
5547 or else NT (N).Nkind = N_Loop_Statement
5548 or else NT (N).Nkind = N_Triggering_Alternative);
5549 Set_List3_With_Parent (N, Val);
5552 procedure Set_Static_Processing_OK
5553 (N : Node_Id; Val : Boolean) is
5555 pragma Assert (False
5556 or else NT (N).Nkind = N_Aggregate);
5558 end Set_Static_Processing_OK;
5560 procedure Set_Storage_Pool
5561 (N : Node_Id; Val : Node_Id) is
5563 pragma Assert (False
5564 or else NT (N).Nkind = N_Allocator
5565 or else NT (N).Nkind = N_Extended_Return_Statement
5566 or else NT (N).Nkind = N_Free_Statement
5567 or else NT (N).Nkind = N_Return_Statement);
5568 Set_Node1 (N, Val); -- semantic field, no parent set
5569 end Set_Storage_Pool;
5571 procedure Set_Strval
5572 (N : Node_Id; Val : String_Id) is
5574 pragma Assert (False
5575 or else NT (N).Nkind = N_Operator_Symbol
5576 or else NT (N).Nkind = N_String_Literal);
5580 procedure Set_Subtype_Indication
5581 (N : Node_Id; Val : Node_Id) is
5583 pragma Assert (False
5584 or else NT (N).Nkind = N_Access_To_Object_Definition
5585 or else NT (N).Nkind = N_Component_Definition
5586 or else NT (N).Nkind = N_Derived_Type_Definition
5587 or else NT (N).Nkind = N_Private_Extension_Declaration
5588 or else NT (N).Nkind = N_Subtype_Declaration);
5589 Set_Node5_With_Parent (N, Val);
5590 end Set_Subtype_Indication;
5592 procedure Set_Subtype_Mark
5593 (N : Node_Id; Val : Node_Id) is
5595 pragma Assert (False
5596 or else NT (N).Nkind = N_Access_Definition
5597 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
5598 or else NT (N).Nkind = N_Formal_Object_Declaration
5599 or else NT (N).Nkind = N_Object_Renaming_Declaration
5600 or else NT (N).Nkind = N_Qualified_Expression
5601 or else NT (N).Nkind = N_Subtype_Indication
5602 or else NT (N).Nkind = N_Type_Conversion
5603 or else NT (N).Nkind = N_Unchecked_Type_Conversion);
5604 Set_Node4_With_Parent (N, Val);
5605 end Set_Subtype_Mark;
5607 procedure Set_Subtype_Marks
5608 (N : Node_Id; Val : List_Id) is
5610 pragma Assert (False
5611 or else NT (N).Nkind = N_Unconstrained_Array_Definition
5612 or else NT (N).Nkind = N_Use_Type_Clause);
5613 Set_List2_With_Parent (N, Val);
5614 end Set_Subtype_Marks;
5616 procedure Set_Suppress_Loop_Warnings
5617 (N : Node_Id; Val : Boolean := True) is
5619 pragma Assert (False
5620 or else NT (N).Nkind = N_Loop_Statement);
5621 Set_Flag17 (N, Val);
5622 end Set_Suppress_Loop_Warnings;
5624 procedure Set_Synchronized_Present
5625 (N : Node_Id; Val : Boolean := True) is
5627 pragma Assert (False
5628 or else NT (N).Nkind = N_Derived_Type_Definition
5629 or else NT (N).Nkind = N_Formal_Derived_Type_Definition
5630 or else NT (N).Nkind = N_Private_Extension_Declaration
5631 or else NT (N).Nkind = N_Record_Definition);
5633 end Set_Synchronized_Present;
5635 procedure Set_Tagged_Present
5636 (N : Node_Id; Val : Boolean := True) is
5638 pragma Assert (False
5639 or else NT (N).Nkind = N_Formal_Private_Type_Definition
5640 or else NT (N).Nkind = N_Incomplete_Type_Declaration
5641 or else NT (N).Nkind = N_Private_Type_Declaration
5642 or else NT (N).Nkind = N_Record_Definition);
5643 Set_Flag15 (N, Val);
5644 end Set_Tagged_Present;
5646 procedure Set_Target_Type
5647 (N : Node_Id; Val : Entity_Id) is
5649 pragma Assert (False
5650 or else NT (N).Nkind = N_Validate_Unchecked_Conversion);
5651 Set_Node2 (N, Val); -- semantic field, no parent set
5652 end Set_Target_Type;
5654 procedure Set_Task_Definition
5655 (N : Node_Id; Val : Node_Id) is
5657 pragma Assert (False
5658 or else NT (N).Nkind = N_Single_Task_Declaration
5659 or else NT (N).Nkind = N_Task_Type_Declaration);
5660 Set_Node3_With_Parent (N, Val);
5661 end Set_Task_Definition;
5663 procedure Set_Task_Present
5664 (N : Node_Id; Val : Boolean := True) is
5666 pragma Assert (False
5667 or else NT (N).Nkind = N_Derived_Type_Definition
5668 or else NT (N).Nkind = N_Record_Definition);
5670 end Set_Task_Present;
5672 procedure Set_Then_Actions
5673 (N : Node_Id; Val : List_Id) is
5675 pragma Assert (False
5676 or else NT (N).Nkind = N_Conditional_Expression);
5677 Set_List2 (N, Val); -- semantic field, no parent set
5678 end Set_Then_Actions;
5680 procedure Set_Then_Statements
5681 (N : Node_Id; Val : List_Id) is
5683 pragma Assert (False
5684 or else NT (N).Nkind = N_Elsif_Part
5685 or else NT (N).Nkind = N_If_Statement);
5686 Set_List2_With_Parent (N, Val);
5687 end Set_Then_Statements;
5689 procedure Set_Treat_Fixed_As_Integer
5690 (N : Node_Id; Val : Boolean := True) is
5692 pragma Assert (False
5693 or else NT (N).Nkind = N_Op_Divide
5694 or else NT (N).Nkind = N_Op_Mod
5695 or else NT (N).Nkind = N_Op_Multiply
5696 or else NT (N).Nkind = N_Op_Rem);
5697 Set_Flag14 (N, Val);
5698 end Set_Treat_Fixed_As_Integer;
5700 procedure Set_Triggering_Alternative
5701 (N : Node_Id; Val : Node_Id) is
5703 pragma Assert (False
5704 or else NT (N).Nkind = N_Asynchronous_Select);
5705 Set_Node1_With_Parent (N, Val);
5706 end Set_Triggering_Alternative;
5708 procedure Set_Triggering_Statement
5709 (N : Node_Id; Val : Node_Id) is
5711 pragma Assert (False
5712 or else NT (N).Nkind = N_Triggering_Alternative);
5713 Set_Node1_With_Parent (N, Val);
5714 end Set_Triggering_Statement;
5716 procedure Set_TSS_Elist
5717 (N : Node_Id; Val : Elist_Id) is
5719 pragma Assert (False
5720 or else NT (N).Nkind = N_Freeze_Entity);
5721 Set_Elist3 (N, Val); -- semantic field, no parent set
5724 procedure Set_Type_Definition
5725 (N : Node_Id; Val : Node_Id) is
5727 pragma Assert (False
5728 or else NT (N).Nkind = N_Full_Type_Declaration);
5729 Set_Node3_With_Parent (N, Val);
5730 end Set_Type_Definition;
5733 (N : Node_Id; Val : Node_Id) is
5735 pragma Assert (False
5736 or else NT (N).Nkind = N_Compilation_Unit);
5737 Set_Node2_With_Parent (N, Val);
5740 procedure Set_Unknown_Discriminants_Present
5741 (N : Node_Id; Val : Boolean := True) is
5743 pragma Assert (False
5744 or else NT (N).Nkind = N_Formal_Type_Declaration
5745 or else NT (N).Nkind = N_Incomplete_Type_Declaration
5746 or else NT (N).Nkind = N_Private_Extension_Declaration
5747 or else NT (N).Nkind = N_Private_Type_Declaration);
5748 Set_Flag13 (N, Val);
5749 end Set_Unknown_Discriminants_Present;
5751 procedure Set_Unreferenced_In_Spec
5752 (N : Node_Id; Val : Boolean := True) is
5754 pragma Assert (False
5755 or else NT (N).Nkind = N_With_Clause);
5757 end Set_Unreferenced_In_Spec;
5759 procedure Set_Variant_Part
5760 (N : Node_Id; Val : Node_Id) is
5762 pragma Assert (False
5763 or else NT (N).Nkind = N_Component_List);
5764 Set_Node4_With_Parent (N, Val);
5765 end Set_Variant_Part;
5767 procedure Set_Variants
5768 (N : Node_Id; Val : List_Id) is
5770 pragma Assert (False
5771 or else NT (N).Nkind = N_Variant_Part);
5772 Set_List1_With_Parent (N, Val);
5775 procedure Set_Visible_Declarations
5776 (N : Node_Id; Val : List_Id) is
5778 pragma Assert (False
5779 or else NT (N).Nkind = N_Package_Specification
5780 or else NT (N).Nkind = N_Protected_Definition
5781 or else NT (N).Nkind = N_Task_Definition);
5782 Set_List2_With_Parent (N, Val);
5783 end Set_Visible_Declarations;
5785 procedure Set_Was_Originally_Stub
5786 (N : Node_Id; Val : Boolean := True) is
5788 pragma Assert (False
5789 or else NT (N).Nkind = N_Package_Body
5790 or else NT (N).Nkind = N_Protected_Body
5791 or else NT (N).Nkind = N_Subprogram_Body
5792 or else NT (N).Nkind = N_Task_Body);
5793 Set_Flag13 (N, Val);
5794 end Set_Was_Originally_Stub;
5796 procedure Set_Zero_Cost_Handling
5797 (N : Node_Id; Val : Boolean := True) is
5799 pragma Assert (False
5800 or else NT (N).Nkind = N_Exception_Handler
5801 or else NT (N).Nkind = N_Handled_Sequence_Of_Statements);
5803 end Set_Zero_Cost_Handling;
5805 -------------------------
5806 -- Iterator Procedures --
5807 -------------------------
5809 procedure Next_Entity (N : in out Node_Id) is
5811 N := Next_Entity (N);
5814 procedure Next_Named_Actual (N : in out Node_Id) is
5816 N := Next_Named_Actual (N);
5817 end Next_Named_Actual;
5819 procedure Next_Rep_Item (N : in out Node_Id) is
5821 N := Next_Rep_Item (N);
5824 procedure Next_Use_Clause (N : in out Node_Id) is
5826 N := Next_Use_Clause (N);
5827 end Next_Use_Clause;
5833 function End_Location (N : Node_Id) return Source_Ptr is
5834 L : constant Uint := End_Span (N);
5839 return Source_Ptr (Int (Sloc (N)) + UI_To_Int (L));
5843 ----------------------
5844 -- Set_End_Location --
5845 ----------------------
5847 procedure Set_End_Location (N : Node_Id; S : Source_Ptr) is
5850 UI_From_Int (Int (S) - Int (Sloc (N))));
5851 end Set_End_Location;
5860 V2 : Node_Kind) return Boolean
5863 return T = V1 or else
5871 V3 : Node_Kind) return Boolean
5874 return T = V1 or else
5884 V4 : Node_Kind) return Boolean
5887 return T = V1 or else
5899 V5 : Node_Kind) return Boolean
5902 return T = V1 or else
5916 V6 : Node_Kind) return Boolean
5919 return T = V1 or else
5935 V7 : Node_Kind) return Boolean
5938 return T = V1 or else
5956 V8 : Node_Kind) return Boolean
5959 return T = V1 or else
5980 V9 : Node_Kind) return Boolean
5983 return T = V1 or else
5998 function Pragma_Name (N : Node_Id) return Name_Id is
6000 return Chars (Pragma_Identifier (N));