1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
10 -- Copyright (C) 1992-2000 Free Software Foundation, Inc. --
12 -- GNAT is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNAT; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
23 -- GNAT was originally developed by the GNAT team at New York University. --
24 -- Extensive contributions were provided by Ada Core Technologies Inc. --
26 ------------------------------------------------------------------------------
28 with Types; use Types;
32 procedure Expand_N_Aggregate (N : Node_Id);
33 procedure Expand_N_Extension_Aggregate (N : Node_Id);
35 function Is_Delayed_Aggregate (N : Node_Id) return Boolean;
36 -- returns True if N is a delayed aggregate of some kind
38 procedure Convert_Aggr_In_Object_Decl (N : Node_Id);
39 -- N is a N_Object_Declaration with an expression which must be
40 -- an N_Aggregate or N_Extension_Aggregate with Expansion_Delayed
41 -- This procedure performs in-place aggregate assignment.
43 procedure Convert_Aggr_In_Allocator (Decl, Aggr : Node_Id);
44 -- Decl is an access N_Object_Declaration (produced during
45 -- allocator expansion), Aggr is the initial expression aggregate
46 -- of an allocator. This procedure perform in-place aggregate
47 -- assignent in the newly allocated object.
49 procedure Convert_Aggr_In_Assignment (N : Node_Id);
50 -- Decl is an access N_Object_Declaration (produced during
51 -- allocator expansion), Aggr is the initial expression aggregate
52 -- of an allocator. This procedure perform in-place aggregate
53 -- assignent in the newly allocated object.