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

⟦bc627834a⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Famille, seg_046e7f

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 Error, Liste_Champs, Type_Table;

package body Famille is


    procedure Parse_Declare_Type is
    begin
        if not (Famille.Is_First (Lexical_Analyzer.Get_Token)) then  
            Error.Set_Type_Error (Error.Decl_Famille_Expected);
            raise Error.Excep_Syntaxe_Error;
        end if;
        Type_Table.Declare_Type_Name (Lexical_Analyzer.Get_Value,
                                      Lexical_Analyzer.Get_Line_In_File,
                                      Lexical_Analyzer.Get_Position_In_Line);
        Lexical_Analyzer.Next;
    end Parse_Declare_Type;

    procedure Parse_Avec is
        use Lexical_Analyzer;
    begin  
        if (Lexical_Analyzer.Get_Token /= Avec) then
            Error.Set_Type_Error (Error.Avec_Expected);
            raise Error.Excep_Syntaxe_Error;
        end if;
        Lexical_Analyzer.Next;
    end Parse_Avec;

    procedure Parse_Point is
        use Lexical_Analyzer;
    begin
        if (Lexical_Analyzer.Get_Token /= Terminator) then  
            Error.Set_Type_Error (Error.Point_Expected);
            raise Error.Excep_Syntaxe_Error;
        end if;
        Lexical_Analyzer.Next;
    end Parse_Point;



    procedure Parse is
        procedure The_Resynchro is new Error.Resynchro (Famille.Is_Follow);  
    begin
        Parse_Declare_Type;
        Parse_Avec;
        Liste_Champs.Parse;
        Parse_Point;  
    exception
        when Error.Excep_Syntaxe_Error | Error.Excep_Semantic_Error =>
            Error.Treat;
            The_Resynchro;
    end Parse;


    function Is_Follow (Un_Token : Lexical_Analyzer.Tokens) return Boolean is
        use Lexical_Analyzer;
    begin
        return (Is_First (Un_Token) or (Un_Token = Variables) or
                (Un_Token = Initialisations) or (Un_Token = Vie));
    end Is_Follow;


    function Is_First (Un_Token : Lexical_Analyzer.Tokens) return Boolean is
        use Lexical_Analyzer;
    begin
        return (Un_Token = Identifier);
    end Is_First;


--function eval ;
    --functin unparse;
end Famille;

E3 Meta Data

    nblk1=4
    nid=3
    hdr6=6
        [0x00] rec0=20 rec1=00 rec2=01 rec3=014
        [0x01] rec0=20 rec1=00 rec2=04 rec3=022
        [0x02] rec0=09 rec1=00 rec2=02 rec3=000
        [0x03] rec0=03 rec1=73 rec2=62 rec3=342
    tail 0x21543d80a865265042345 0x42a00088462060003
Free Block Chain:
  0x3: 0000  00 00 00 56 80 23 7a 65 72 2e 47 65 74 5f 54 6f  ┆   V #zer.Get_To┆