|
|
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 Unary_Predicate, seg_02cf84, seg_02d13c, separate Generic_Predicate
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
separate (Generic_Predicate)
package body Unary_Predicate is
function Make (The_Operator : System_Defined.Operators) return Object is
begin
return Object'(Owner => System, The_System_Operator => The_Operator);
end Make;
function Make (The_Operator : User_Defined_Operators) return Object is
begin
return Object'(Owner => User, The_User_Operator => The_Operator);
end Make;
procedure Put (The_Object : Object; Where : Output_Stream.Object) is
use Output_Stream;
begin
case The_Object.Owner is
when System =>
Put (System_Defined.Image (The_Object.The_System_Operator),
Where);
when User =>
Put (User_Defined_Image (The_Object.The_User_Operator), Where);
end case;
end Put;
function Match (Value : Slot.Object; Against : Object) return Boolean is
begin
case Against.Owner is
when System =>
return System_Defined.Match
(Against.The_System_Operator, Value);
when User =>
return User_Defined_Unary_Match
(Against.The_User_Operator, Value);
end case;
end Match;
end Unary_Predicate;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=00a
[0x01] rec0=0a rec1=00 rec2=02 rec3=001
tail 0x21525d3be84135619619c 0x42a00088462063c03