|
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: 7168 (0x1c00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Action, seg_04873e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Error, Action_Conditionnelle, Appel, Affectation; package body Action is 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 (List : in out Action_List.Object) is use Lexical_Analyzer; procedure The_Resynchro is new Error.Resynchro (Action.Is_Follow); begin if Action_Conditionnelle.Is_First (Lexical_Analyzer.Get_Token) then Action_Conditionnelle.Parse (List); Parse_Point; elsif Appel.Is_First (Lexical_Analyzer.Get_Token) then Appel.Parse (List); Parse_Point; elsif Affectation.Is_First (Lexical_Analyzer.Get_Token) then Affectation.Parse (List); Parse_Point; else Error.Set_Type_Error (Error.Decl_Action_Expected); raise Error.Excep_Syntaxe_Error; end if; 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)); end Is_Follow; function Is_First (Un_Token : Lexical_Analyzer.Tokens) return Boolean is use Lexical_Analyzer; begin return (Appel.Is_First (Un_Token) or Action_Conditionnelle.Is_First (Un_Token) or (Affectation.Is_First (Un_Token))); end Is_First; end Action;
nblk1=6 nid=2 hdr6=4 [0x00] rec0=1e rec1=00 rec2=01 rec3=028 [0x01] rec0=1d rec1=00 rec2=04 rec3=000 [0x02] rec0=05 rec1=00 rec2=02 rec3=000 [0x03] rec0=06 rec1=00 rec2=03 rec3=000 [0x04] rec0=01 rec1=00 rec2=04 rec3=000 [0x05] rec0=01 rec1=00 rec2=04 rec3=001 tail 0x21545aee486598bcc175c 0x42a00088462060003 Free Block Chain: 0x2: 0000 00 03 00 4a 80 1c 75 69 74 74 65 72 29 20 6f 72 ┆ J uitter) or┆ 0x3: 0000 00 05 00 99 80 19 72 20 28 55 6e 5f 54 6f 6b 65 ┆ r (Un_Toke┆ 0x5: 0000 00 06 00 b1 80 34 20 20 45 72 72 6f 72 2e 53 65 ┆ 4 Error.Se┆ 0x6: 0000 00 00 00 8c 80 0f 74 69 6f 6e 5f 45 78 70 65 63 ┆ tion_Expec┆