|
|
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 Expression_Node_Old, seg_04101d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
package Expression_Node_Old is
package Kind is
type Every is ('+', '-', '*', '/', Identifier, Number, Unknown);
subtype Operator is Every range '+' .. '/';
end Kind;
use Kind;
type Object (Kind : Every := Unknown) is private;
subtype Element_Index is Positive;
type P_Object is access Object;
function Evaluate (Item : in Object) return Integer;
function Make (Node_Kind : in Operator; Left_Node, Right_Node : in P_Object)
return P_Object;
function Make (Node_Value : in Integer) return P_Object;
function Make (Node_Index_Entity, Node_Index_Field : in Element_Index)
return P_Object;
private
type Object (Kind : Every := Unknown) is
record
case Kind is
when '+' | '-' | '*' | '/' =>
Left, Right : P_Object;
when Number =>
Value : Integer;
when Identifier =>
Index_Entity, Index_Field : Element_Index;
when Unknown =>
null;
end case;
end record;
end Expression_Node_Old;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=20 rec1=00 rec2=01 rec3=022
[0x01] rec0=07 rec1=00 rec2=02 rec3=001
tail 0x217413a9e861274c0eea9 0x42a00088462060003