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

⟦eb1a6d0f2⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Test_Action, seg_048481

Derivation

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

E3 Source Code



with Tests;
with Complements;  
with Verbs;

with Test_Action_Bis;
with Lexical;  
with Syntax_Error;
with Compiler_Token;  
use Compiler_Token;

package body Test_Action is
    procedure Parse is
        Mot : Lexical.Our_String.Variable_String;  
        Un_Test : Tests.Type_Test;
    begin  
        if Lexical.Get_Token = L_Id then
            Mot := Lexical.Our_String.Value (Lexical.Get_Value);
            Lexical.Next;
            if Complements.Exists (Lexical.Our_String.Image (Mot)) then
                Un_Test.Kind := Tests.Is_A_Complement;
                Un_Test.Name := Tests.Identifier.Value
                                   (Lexical.Our_String.Image (Mot));
                Tests.Add_Test (Un_Test);

            else  
                Verbs.Create (Lexical.Our_String.Image (Mot));
                Un_Test.Kind := Tests.Is_A_Verb;
                Un_Test.Name := Tests.Identifier.Value
                                   (Lexical.Our_String.Image (Mot));
                Tests.Add_Test (Un_Test);
                Test_Action_Bis.Parse;
            end if;
        else
            Syntax_Error.Syntaxique (Compiler_Token.R_Test_Action, "L_Id");
        end if;
    end Parse;
end Test_Action;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1e rec1=00 rec2=01 rec3=064
        [0x01] rec0=09 rec1=00 rec2=02 rec3=001
    tail 0x2174c6a6c86593e7a106e 0x42a00088462060003