OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [ada/] [prj-dect.ads] - Blame information for rev 20

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
------------------------------------------------------------------------------
2
--                                                                          --
3
--                         GNAT COMPILER COMPONENTS                         --
4
--                                                                          --
5
--                              P R J . D E C T                             --
6
--                                                                          --
7
--                                 S p e c                                  --
8
--                                                                          --
9
--          Copyright (C) 2001-2005, Free Software Foundation, Inc.         --
10
--                                                                          --
11
-- GNAT is free software;  you can  redistribute it  and/or modify it under --
12
-- terms of the  GNU General Public License as published  by the Free Soft- --
13
-- ware  Foundation;  either version 2,  or (at your option) any later ver- --
14
-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15
-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16
-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
17
-- for  more details.  You should have  received  a copy of the GNU General --
18
-- Public License  distributed with GNAT;  see file COPYING.  If not, write --
19
-- to  the  Free Software Foundation,  51  Franklin  Street,  Fifth  Floor, --
20
-- Boston, MA 02110-1301, USA.                                              --
21
--                                                                          --
22
-- GNAT was originally developed  by the GNAT team at  New York University. --
23
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
24
--                                                                          --
25
------------------------------------------------------------------------------
26
 
27
--  Parse a list of declarative items in a project file
28
 
29
with Prj.Tree;
30
 
31
private package Prj.Dect is
32
 
33
   procedure Parse
34
     (In_Tree           : Prj.Tree.Project_Node_Tree_Ref;
35
      Declarations      : out Prj.Tree.Project_Node_Id;
36
      Current_Project   : Prj.Tree.Project_Node_Id;
37
      Extends           : Prj.Tree.Project_Node_Id;
38
      Packages_To_Check : String_List_Access);
39
   --  Parse project declarative items
40
   --
41
   --  In_Tree is the project node tree
42
   --
43
   --  Declarations is the resulting project node
44
   --
45
   --  Current_Project is the project node of the project for which the
46
   --  declarative items are parsed.
47
   --
48
   --  Extends is the project node of the project that project Current_Project
49
   --  extends. If project Current-Project does not extend any project,
50
   --  Extends has the value Empty_Node.
51
   --
52
   --  Packages_To_Check is the list of packages that needs to be checked.
53
   --  For legal packages declared in project Current_Project that are not in
54
   --  Packages_To_Check, only the syntax of the declarations are checked, not
55
   --  the attribute names and kinds.
56
 
57
end Prj.Dect;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.