|
|
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 body Primitives_List, seg_0389e4
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Lex, Primitives;
with Debug;
package body Primitives_List is
procedure Parse (N : in out Binary_Tree.Node; Success : in out Boolean) is
N1 : Binary_Tree.Node;
Ok : Boolean := True;
begin
N1 := new Binary_Tree.Node_Structure;
N1.The_Type := Binary_Tree.L_Primitives_Type;
Success := True;
Primitives.Parse (N1.Left_Son, Ok);
Success := Success and Ok;
if Lex.Current_Token_In ((Lex.Activer, Lex.Desactiver,
Lex.Fixer, Lex.Evoluer)) then
Parse (N1.Right_Son, Ok);
Success := Success and Ok;
end if;
N := N1;
end Parse;
procedure Generate
(N : Binary_Tree.Node; T : in out Natural; S : in String) is
begin
Debug.Put (3333);
case N.Left_Son.The_Type is
when Binary_Tree.Null_Type =>
Generate (N.Right_Son, T, S);
when Binary_Tree.Activer_Type | Binary_Tree.Desactiver_Type |
Binary_Tree.Fixer_Type | Binary_Tree.Evoluer_Type =>
Primitives.Generate (N.Left_Son, T, S);
if not Binary_Tree."=" (N.Right_Son, null) then
Generate (N.Right_Son, T, S);
end if;
when others =>
null;
end case;
end Generate;
end Primitives_List;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=016
[0x01] rec0=0d rec1=00 rec2=02 rec3=001
tail 0x217356e7084e5839e6db3 0x42a00088462060003