Hosted by
|
with Readers; use Readers;
with Token_Readers; use Token_Readers;
package Line_Readers is
type Line_Reader is
new Token_Reader with null record;
type Line_Reader_Access is access Line_Reader;
procedure Initialize_Line_Reader
(This : access Line_Reader'Class);
procedure Initialize_Line_Reader
(This : access Line_Reader'Class;
Filename : in String);
procedure Finalize_Line_Reader
(This : access Line_Reader'Class);
function Current_Input
return Line_Reader_Access;
function Open
(Filename : in String)
return Line_Reader_Access;
procedure Close
(This : in out Line_Reader_Access);
function Next_Line
(This : access Line_Reader'Class)
return Boolean;
function Rest_Of_Line
(This : access Line_Reader'Class)
return String;
end Line_Readers;
|