Fix GNU coding style for G_.
[official-gcc.git] / gcc / ada / scil_ll.ads
blob1d28ba37a790096d96f580e2c23e5dbc45660d12
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT COMPILER COMPONENTS --
4 -- --
5 -- S C I L _ L L --
6 -- --
7 -- S p e c --
8 -- --
9 -- Copyright (C) 2010-2018, Free Software Foundation, Inc. --
10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE. --
17 -- --
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. --
21 -- --
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/>. --
26 -- --
27 -- GNAT was originally developed by the GNAT team at New York University. --
28 -- Extensive contributions were provided by Ada Core Technologies Inc. --
29 -- --
30 ------------------------------------------------------------------------------
32 -- This package extends the tree nodes with fields that are used to reference
33 -- the SCIL node and the Contract_Only_Body of a subprogram with aspects.
35 with Types; use Types;
37 package SCIL_LL is
39 function Get_Contract_Only_Body (N : Node_Id) return Node_Id;
40 -- Read the value of attribute Contract_Only_Body
42 function Get_SCIL_Node (N : Node_Id) return Node_Id;
43 -- Read the value of attribute SCIL node
45 procedure Set_Contract_Only_Body (N : Node_Id; Value : Node_Id);
46 -- Set the value of attribute Contract_Only_Body
48 procedure Set_SCIL_Node (N : Node_Id; Value : Node_Id);
49 -- Set the value of attribute SCIL node
51 procedure Initialize;
52 -- Initialize the table of SCIL nodes
54 function Is_Contract_Only_Body (E : Entity_Id) return Boolean;
55 -- Return True if E is a Contract_Only_Body subprogram
57 procedure Set_Is_Contract_Only_Body (E : Entity_Id);
58 -- Set E as Contract_Only_Body subprogram
60 end SCIL_LL;