|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Action_Conditionnelle, seg_0467ef
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Error, Liste_Actions, Clause_Sinon, Expression, Dynamic_Node; package body Action_Conditionnelle is procedure Parse (List : in out Action_List.Object) is use Lexical_Analyzer; Dyn_Node : Dynamic_Node.Object; begin if (Lexical_Analyzer.Get_Token = Si) then Lexical_Analyzer.Next; Action_List.Create_If (List); Expression.Parse (Dyn_Node); Action_List.Set_Condition (List, Dyn_Node); if (Lexical_Analyzer.Get_Token /= Alors) then Error.Set_Type_Error (Error.Alors_Expected); raise Error.Excep_Syntaxe_Error; end if; Lexical_Analyzer.Next; Action_List.Go_In_Then (List); Liste_Actions.Parse (List); Clause_Sinon.Parse (List); if (Lexical_Analyzer.Get_Token /= Fsi) then Error.Set_Type_Error (Error.Fsi_Expected); raise Error.Excep_Syntaxe_Error; end if; Lexical_Analyzer.Next; Action_List.End_Of_If (List); end if; exception when Lexical_Analyzer.Excep_Eof => Error.Set_Type_Error (Error.Unexpected_Eof); Error.Treat; raise Error.Excep_Syntaxe_Aborded; end Parse; function Is_First (Un_Token : Lexical_Analyzer.Tokens) return Boolean is use Lexical_Analyzer; begin return (Un_Token = Si); end Is_First; end Action_Conditionnelle;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1f rec1=00 rec2=01 rec3=01e [0x01] rec0=16 rec1=00 rec2=02 rec3=001 tail 0x21543397a86515b45c339 0x42a00088462060003