|
|
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 Presentations, seg_0480ba
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Lexical, Token_List, Erreur, Nom_De_Type, Initialisation, Bounded_String;
with Models, Symbols, Comps_Dictionary;
use Lexical, Token_List, Bounded_String;
package body Presentations is
Presentation_First : Token_List.Object := Make (Id);
Presentation_Follow : Token_List.Object := Make ((Id, Liaison));
procedure Presentation (Tdm : in Models.Object;
Tds : in out Symbols.Object;
Comp : in out Comps_Dictionary.Object) is
A_Symbol_Name : Variable_String (Symbols.Max_Symbol_String);
A_Symbol_Type : Variable_String (Symbols.Max_Symbol_String);
begin
if Lexical.Get_Token = Id then
if Comps_Dictionary.Exist (Lexical.Get_Value, Comp) then
Erreur.Complement ("Complement deja existant");
else
Comps_Dictionary.Add_New (Lexical.Get_Value, Comp);
end if;
Copy (A_Symbol_Name, Lexical.Get_Value);
Lexical.Next;
if Lexical.Get_Token = Objet then
Lexical.Next;
Nom_De_Type.Parse (Tdm, A_Symbol_Type);
Initialisation.Parse (Tdm, Tds, Image (A_Symbol_Name),
Image (A_Symbol_Type));
else
Erreur.Syntaxe ("Manque Objet", Presentation_Follow);
end if;
else
Erreur.Syntaxe ("Manque Nom Objet", Presentation_Follow);
end if;
end Presentation;
procedure Parse (Tdm : in Models.Object;
Tds : in out Symbols.Object;
Comp : in out Comps_Dictionary.Object) is
begin
Presentation (Tdm, Tds, Comp);
while Is_In (Lexical.Get_Token, Presentation_First) loop
Presentation (Tdm, Tds, Comp);
end loop;
end Parse;
end Presentations;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=19 rec1=00 rec2=01 rec3=056
[0x01] rec0=1d rec1=00 rec2=02 rec3=001
tail 0x2174c0faa86583e9fd73b 0x42a00088462060003