|
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: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Args, seg_0360c0
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Scanner, Object, List, Msg_Report; package body Args is type Node_Structure is record Liste : List.Node := List.Empty_Node; end record; procedure Parse (N : in out Node; Error : out Boolean) is Failed : Boolean := False; use Scanner; begin Msg_Report.Information ("I enter in argument's parse"); N := new Node_Structure; if Scanner.Symbol = L_Avec then Scanner.Next; if List.Is_First (Scanner.Symbol) then List.Parse (N.Liste, Failed); if Scanner.Symbol = L_Dot then Scanner.Next; else Failed := True; Msg_Report.Syntax_Error (". expected, not"); end if; else Failed := True; Msg_Report.Syntax_Error ("incorrect follow of AVEC : "); end if; end if; Msg_Report.Information ("I leave argument's parse with failed = " & Boolean'Image (Failed)); Error := Failed; end Parse; function Is_First (T : Scanner.Token) return Boolean is use Scanner; begin return T = L_Avec; end Is_First; function Interpret (N : Node; Inherited : Object.Reference := Object.Void_Reference; A_Keyword_Mess : Message.Selector := Message.Void_Selector; A_List : Arguments.List := Arguments.Void_Arguments) return Object.Reference is Result : Object.Reference; begin Msg_Report.Information ("I enter in argument's interpret"); Result := List.Interpret (N.Liste, A_Keyword_Mess => A_Keyword_Mess, A_List => A_List); Msg_Report.Information ("I leave argument's interpret with result :"); Msg_Report.Continue ("class = " & Object.Class'Image (Object.The_Class (Result)) & " ident = " & Integer'Image (Object.Identificator (Result))); return Result; end Interpret; end Args;
nblk1=4 nid=0 hdr6=8 [0x00] rec0=1f rec1=00 rec2=01 rec3=016 [0x01] rec0=01 rec1=00 rec2=04 rec3=01a [0x02] rec0=1d rec1=00 rec2=03 rec3=080 [0x03] rec0=07 rec1=00 rec2=02 rec3=000 tail 0x2152f0de484dc4437ff74 0x42a00088462060003