|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package Subprogram_Analysis, seg_004562
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
--| @SUMMARY Provides a few analysis counters for ada subprograms
with Ada_Program;
package Subprogram_Analysis is
type Subprogram_Data is private;
function Analyze (Subprogram_Body : Ada_Program.Element)
return Subprogram_Data;
function Branches (In_Subprogram : Subprogram_Data)
return Ada_Program.Element_List;
function Nesting_Depth
(In_Subprogram : Subprogram_Data) return Natural;
function Number_Of_Statements
(In_Subprogram : Subprogram_Data) return Natural;
function Number_Of_Parameters
(In_Subprogram : Subprogram_Data) return Natural;
function Number_Of_Local_Declarations
(In_Subprogram : Subprogram_Data) return Natural;
function Exits (In_Subprogram : Subprogram_Data)
return Ada_Program.Element_List;
function Global_References (In_Subprogram : Subprogram_Data)
return Ada_Program.Element_List;
private
type Subprogram_Data is
record
Branches : Ada_Program.Element_List;
Exits : Ada_Program.Element_List;
Globals : Ada_Program.Element_List;
Num_Params : Natural := 0;
Num_Statements : Natural := 0;
Num_Locals : Natural := 0;
Current_Depth : Natural := 0;
Max_Depth : Natural := 0;
end record;
end Subprogram_Analysis;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=18 rec1=00 rec2=01 rec3=01a
[0x01] rec0=10 rec1=00 rec2=02 rec3=000
tail 0x215003c08815c64daf83b 0x42a00088462061e03