|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 1031 (0x407)
Types: TextFile
Names: »B«
└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
└─⟦5cb1d1d7f⟧ »DATA«
└─⟦3b1ee7bd8⟧
└─⟦this⟧
procedure Diana_Tree_Walk_Generic (Node : Diana.Tree; S : in out State) is
List : Diana.Seq_Type;
Cs : State := S;
begin
Preprocess (Node, S, Cs);
case Diana.Arity (Node) is
when Diana.Nullary =>
null;
when Diana.Unary =>
Diana_Tree_Walk_Generic (Diana.Child1 (Node), Cs);
when Diana.Binary =>
Diana_Tree_Walk_Generic (Diana.Child1 (Node), Cs);
Diana_Tree_Walk_Generic (Diana.Child2 (Node), Cs);
when Diana.Ternary =>
Diana_Tree_Walk_Generic (Diana.Child1 (Node), Cs);
Diana_Tree_Walk_Generic (Diana.Child2 (Node), Cs);
Diana_Tree_Walk_Generic (Diana.Child3 (Node), Cs);
when Diana.Arbitrary =>
List := Diana.As_List (Node);
while not Diana.Is_Empty (List) loop
Diana_Tree_Walk_Generic (Diana.Head (List), Cs);
List := Diana.Tail (List);
end loop;
end case;
Postprocess (Node, Cs, S);
end Diana_Tree_Walk_Generic;