|
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_Expression, seg_04a316, seg_04a9e0, seg_04b44d, separate Generic_Expression
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Generic_Expression) package body Unary_Expression is function Make (The_Operator : System_Defined.Operators; The_Operand : Generic_Expression.Object) return Object is begin return Object'(Owner => System, The_System_Operator => The_Operator, The_Operand => The_Operand); end Make; function Make (The_Operator : User_Defined_Operators; The_Operand : Generic_Expression.Object) return Object is begin return Object'(Owner => User, The_User_Operator => The_Operator, The_Operand => The_Operand); 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; Put (The_Object.The_Operand, Where); end Put; function Evaluate (The_Object : Object) return Slot.Object is begin case The_Object.Owner is when System => return System_Defined.Evaluate (Using_Operator => The_Object.The_System_Operator, Right => Evaluate (The_Object.The_Operand)); when User => return User_Defined_Unary_Evaluate (Using_Operator => The_Object.The_User_Operator, Right => Evaluate (The_Object.The_Operand)); end case; end Evaluate; end Unary_Expression;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1a rec1=00 rec2=01 rec3=054 [0x01] rec0=19 rec1=00 rec2=02 rec3=001 tail 0x2174ea14e866e7c3409da 0x42a00088462063c03