|
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 - download
Length: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Query, seg_02cea8, seg_02cf0e, seg_02d135, separate Generic_Fact_Base
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧ └─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Generic_Fact_Base) package body Query is procedure Put (The_Patterns : Patterns; Using_Class : Class.Object; Where : Output_Stream.Object := Output_Stream.Standard_Output) is First : Boolean := True; use Output_Stream; begin for I in The_Patterns'Range loop if not First then Put_Line (", ", Where); else First := False; end if; Put (Class.Slot_Name_Image (From_Class => Using_Class, For_Slot => I), Where); Put (" => ", Where); Predicate_Put (The_Expression => The_Patterns (I), Where => Where); end loop; end Put; procedure Put (The_Query : Object; Where : Output_Stream.Object) is use Output_Stream; Class_Name : constant String := Class_Names'Image (The_Query.Class); The_Class : Class.Object := Working_Memory.Get (Using => The_Query.Class); begin case The_Query.Kind is when Find => Put_Line ("Find_" & Class_Name & "_Such_As'(", Where); when Check_No => Put_Line ("Check_No_" & Class_Name & "_Has'(", Where); end case; Indent_Right (Where); Put (The_Patterns => The_Query.Value, Using_Class => The_Class, Where => Where); Indent_Left (Where); Put_Line (")", Where); end Put; procedure Put (The_Queries : Objects; Where : Output_Stream.Object) is use Output_Stream; begin Put ("Premiss'(", Where); Indent_Right (Where); for I in The_Queries'Range loop Put (The_Queries (I), Where); New_Line (Where); end loop; Indent_Left (Where); Put_Line (")", Where); end Put; end Query;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=1b rec1=00 rec2=01 rec3=092 [0x01] rec0=00 rec1=00 rec2=04 rec3=004 [0x02] rec0=1d rec1=00 rec2=02 rec3=016 [0x03] rec0=04 rec1=00 rec2=03 rec3=000 tail 0x21525ba94841254ddf861 0x42a00088462063c03