comparison gcc/ada/treepr.ads @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
4 -- -- 4 -- --
5 -- T R E E P R -- 5 -- T R E E P R --
6 -- -- 6 -- --
7 -- S p e c -- 7 -- S p e c --
8 -- -- 8 -- --
9 -- Copyright (C) 1992-2018, Free Software Foundation, Inc. -- 9 -- Copyright (C) 1992-2019, Free Software Foundation, Inc. --
10 -- -- 10 -- --
11 -- GNAT is free software; you can redistribute it and/or modify it under -- 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- -- 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- -- 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- -- 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
80 pragma Export (Ada, pe); 80 pragma Export (Ada, pe);
81 -- Print a node, node list, uint, or anything else that falls under 81 -- Print a node, node list, uint, or anything else that falls under
82 -- the definition of Union_Id. Historically this was only for printing 82 -- the definition of Union_Id. Historically this was only for printing
83 -- nodes, hence the name. 83 -- nodes, hence the name.
84 84
85 procedure ppar (N : Union_Id);
86 pragma Export (Ada, ppar);
87 -- Print the node, its parent, its parent's parent, and so on
88
85 procedure pt (N : Union_Id); 89 procedure pt (N : Union_Id);
86 procedure ppp (N : Union_Id); 90 procedure ppp (N : Union_Id);
87 pragma Export (Ada, pt); 91 pragma Export (Ada, pt);
88 pragma Export (Ada, ppp); 92 pragma Export (Ada, ppp);
89 -- Same as pn/pp, except prints subtrees. For Nodes, it is exactly the same 93 -- Same as pn/pp, except prints subtrees. For Nodes, it is exactly the same