home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gnat-2.06-src.tgz / tar.out / fsf / gnat / ada / sem_ch13.ads < prev    next >
Text File  |  1996-09-28  |  3KB  |  47 lines

  1. ------------------------------------------------------------------------------
  2. --                                                                          --
  3. --                         GNAT COMPILER COMPONENTS                         --
  4. --                                                                          --
  5. --                             S E M _ C H 1 3                              --
  6. --                                                                          --
  7. --                                 S p e c                                  --
  8. --                                                                          --
  9. --                            $Revision: 1.17 $                             --
  10. --                                                                          --
  11. --           Copyright (c) 1992,1993,1994 NYU, All Rights Reserved          --
  12. --                                                                          --
  13. -- GNAT is free software;  you can  redistribute it  and/or modify it under --
  14. -- terms of the  GNU General Public License as published  by the Free Soft- --
  15. -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
  16. -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
  17. -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
  18. -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
  19. -- for  more details.  You should have  received  a copy of the GNU General --
  20. -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
  21. -- to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. --
  22. --                                                                          --
  23. ------------------------------------------------------------------------------
  24.  
  25. with Types; use Types;
  26.  
  27. package Sem_Ch13 is
  28.    procedure Analyze_At_Clause                          (N : Node_Id);
  29.    procedure Analyze_Attribute_Definition_Clause        (N : Node_Id);
  30.    procedure Analyze_Enumeration_Representation_Clause  (N : Node_Id);
  31.    procedure Analyze_Free_Statement                     (N : Node_Id);
  32.    procedure Analyze_Record_Representation_Clause       (N : Node_Id);
  33.    procedure Analyze_Code_Statement                     (N : Node_Id);
  34.  
  35.    function Minimum_Size (T : Entity_Id) return Nat;
  36.    --  Given a discrete type or a fixed-point type, determines the minimum
  37.    --  number of bits required to represent all values of the type. This
  38.    --  function may not be called with any other types.
  39.  
  40.    procedure Validate_Unchecked_Conversion (N : Node_Id; Act_Unit : Entity_Id);
  41.    --  Validate a call to unchecked conversion. N is the node for the actual
  42.    --  instantiation, which is used only for error messages. Act_Unit is the
  43.    --  entity for the instantiation, from which the actual types etc for this
  44.    --  instantiation can be determined.
  45.  
  46. end Sem_Ch13;
  47.