|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 1100 (0x44c)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Scanner;
with Message;
with List;
with Class_Printer;
with Bug_Report;
package body Arguments is
procedure Parse (Ident : in out Message.Unary;
Kwd : in out Message.Unary) is
use Scanner;
begin
if Arguments.Is_First (Scanner.Get_Token) then
Scanner.Next;
List.Parse (Ident, Kwd);
if Scanner.Get_Token = Scanner.Point then
Scanner.Next;
else
raise Bug_Report.Point_Is_Missing;
end if;
end if;
end Parse;
procedure Unparse (Ident : Message.Unary; Kwd : Message.Unary) is
begin
if not Message.Is_Done (Ident) or not Message.Is_Done (Kwd) then
Class_Printer.Put_Tab ("avec");
List.Unparse (Ident, Kwd);
Class_Printer.Put (".");
Class_Printer.New_Line;
Class_Printer.New_Line;
end if;
end Unparse;
function Is_First (T : Scanner.Token) return Boolean is
use Scanner;
begin
return T = Scanner.Avec;
end Is_First;
end Arguments;