|
|
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: 5120 (0x1400)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Literal, seg_048da2
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Text_Io;
package body Literal is
procedure Put_Name (Item : in out Object; Name : in Identifier.Object) is
begin
Item.Name := Name;
end Put_Name;
procedure Put_Literal (Item : in out Object;
Literal : in Identifier.Object;
Ok : out Boolean) is
begin
Literal_Array.Put (Item.The_Array, Literal, Ok);
end Put_Literal;
procedure Show (Item : in Object) is
begin
Text_Io.Put_Line ("Enumeration : Name : " & Name (Item));
Literal_Array.Show (Item.The_Array);
end Show;
function Name (Item : in Object) return String is
begin
return Identifier.Image (Item.Name);
end Name;
function Literal_Image
(Item : in Object; Literal_Index : in Natural) return String is
Literal_Identifier : Identifier.Object;
Exist : Boolean;
begin
Literal_Array.Get (Item.The_Array, Literal_Identifier,
Literal_Index, Exist);
if Exist then
return Identifier.Image (Literal_Identifier);
else
return "";
end if;
end Literal_Image;
function Literal (Item : in Object; Literal : in String) return Natural is
begin
return Literal_Array.Index (Item.The_Array, Literal);
end Literal;
function Belong (Item : in Object; Literal : in String) return Boolean is
begin
return Literal_Array.Belong (Item.The_Array, Literal);
end Belong;
end Literal;
nblk1=4
nid=3
hdr6=4
[0x00] rec0=27 rec1=00 rec2=01 rec3=028
[0x01] rec0=16 rec1=00 rec2=04 rec3=000
[0x02] rec0=27 rec1=00 rec2=04 rec3=084
[0x03] rec0=0d rec1=00 rec2=03 rec3=000
tail 0x2174d32c8865aa718ab32 0x42a00088462060003
Free Block Chain:
0x3: 0000 00 02 03 fc 80 26 72 6e 20 6c 69 74 65 72 61 6c ┆ &rn literal┆
0x2: 0000 00 00 00 20 80 1a 74 28 69 74 65 6d 20 3a 20 69 ┆ t(item : i┆