|
|
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, procedure Display_Statement_Traversal, seg_004605
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Statement_Traversal;
with Io;
with Lrm_Renames;
use Lrm_Renames;
procedure Display_Statement_Traversal (For_Unit_Body : String := "") is
Body_Decl : Ada.Element := Decls.Enclosing_Declaration
(Ada.Conversion.Resolve (For_Unit_Body));
Nat : Natural := 0;
Control : Ada.Traversal_Control := Ada.Continue;
procedure Pre_Op (Program_Element : Ada.Element;
State : in out Natural;
Control : in out Ada.Traversal_Control) is
Iter : Ada.Line_Iterator;
begin
Iter := Ada.Image (Program_Element);
Io.Put_Line (Ada.Value (Iter) & " (" &
Integer'Image (Ada.Line_Number (Program_Element)) & ")");
Control := Ada.Continue;
end Pre_Op;
procedure Post_Op (Program_Element : Ada.Element;
State : in out Natural;
Control : in out Ada.Traversal_Control) is
begin
Control := Ada.Continue;
end Post_Op;
procedure Traverse_Statements is
new Statement_Traversal (Natural, Pre_Op, Post_Op);
begin
Traverse_Statements (Decls.Unit_Body (Body_Decl), Nat, Control);
end Display_Statement_Traversal;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1a rec1=00 rec2=01 rec3=028
[0x01] rec0=0b rec1=00 rec2=02 rec3=000
tail 0x2150040fa815c659c5e6e 0x42a00088462061e03