DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦4e52968b0⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Un_Type_De_Base, seg_047140

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Erreur, Our_List, Variables;

package body Un_Type_De_Base is

    procedure Parse is
    begin
        case Lex.Get_Token is
            when Entier =>
                if Our_List.Get_Part_Of_The_Script = 1 then  
                    Our_List.Complete_Field_With_Type ("integer");
                end if;

                if Our_List.Get_Part_Of_The_Script = 2 then
                    Variables.Complete_Variable_With_Type ("integer");
                end if;
                Lex.Next;
            when Chaine =>
                if Our_List.Get_Part_Of_The_Script = 1 then
                    Our_List.Complete_Field_With_Type ("string");  
                end if;

                if Our_List.Get_Part_Of_The_Script = 2 then
                    Variables.Complete_Variable_With_Type ("string");
                end if;
                Lex.Next;
            when Booleen =>
                if Our_List.Get_Part_Of_The_Script = 1 then
                    Our_List.Complete_Field_With_Type ("boolean");
                end if;

                if Our_List.Get_Part_Of_The_Script = 2 then
                    Variables.Complete_Variable_With_Type ("boolean");
                end if;
                Lex.Next;
            when Identifier =>  
                if Our_List.Get_Part_Of_The_Script = 1 then
                    Our_List.Complete_Field_With_Type (Lex.Get_Value);
                end if;

                if Our_List.Get_Part_Of_The_Script = 2 then
                    Variables.Complete_Variable_With_Type (Lex.Get_Value);
                end if;
                Lex.Next;
            when others =>
                Erreur.Parse
                   ("il  manque le mot 'entier' ou 'chaine' ou 'booleen' ou 'identifier'");
        end case;
    end Parse;


end Un_Type_De_Base;

E3 Meta Data

    nblk1=3
    nid=2
    hdr6=4
        [0x00] rec0=1d rec1=00 rec2=01 rec3=026
        [0x01] rec0=18 rec1=00 rec2=03 rec3=001
        [0x02] rec0=0a rec1=00 rec2=00 rec3=004
    tail 0x2174824c6864d64fcc134 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 03 fc 00 1b 20 20 20 20 20 20 20 20 20 20  ┆                ┆