Natools

Diff
Login

Differences From Artifact [44bdbebcd7]:

To Artifact [7d5a33af66]:


111
112
113
114
115
116
117







118
119
120
121
122
123
124
125
126
   procedure Next
     (Object : in out Descriptor;
      Event : out Events.Event) is abstract;
      --  Update Object to reflect the next event in the S-expression

   procedure Next (Object : in out Descriptor'Class);
      --  Call Next discarding current event








private

   use type Ada.Streams.Stream_Element;
   use type Ada.Streams.Stream_Element_Offset;
   use type Ada.Streams.Stream_Element_Array;
   use type Events.Event;

end Natools.S_Expressions;







>
>
>
>
>
>
>









111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
   procedure Next
     (Object : in out Descriptor;
      Event : out Events.Event) is abstract;
      --  Update Object to reflect the next event in the S-expression

   procedure Next (Object : in out Descriptor'Class);
      --  Call Next discarding current event

   procedure Close_Current_List (Object : in out Descriptor'Class);
      --  Repeatedly call Next until reaching end-of-input or the Close_List
      --  event matching the current list.
      --  Note: if current event is Open_List, then this is the designated list
      --  while for other events, including Close_List, the designated list
      --  contains the current object or the just-closed list.

private

   use type Ada.Streams.Stream_Element;
   use type Ada.Streams.Stream_Element_Offset;
   use type Ada.Streams.Stream_Element_Array;
   use type Events.Event;

end Natools.S_Expressions;