separated token handling to a separate file

This commit is contained in:
2014-01-04 06:31:14 +00:00
parent a81a2230d0
commit 78fb4223e9
6 changed files with 156 additions and 126 deletions

21
lib/h2-scheme-token.ads Normal file
View File

@ -0,0 +1,21 @@
private package H2.Scheme.Token is
procedure Purge (Interp: in out Interpreter_Record);
pragma Inline (Purge);
procedure Set (Interp: in out Interpreter_Record;
Kind: in Token_Kind;
Value: in Object_String);
procedure Append_String (Interp: in out Interpreter_Record;
Value: in Object_String);
pragma Inline (Append_String);
procedure Append_Character (Interp: in out Interpreter_Record;
Value: in Object_Character);
pragma Inline (Append_Character);
end H2.Scheme.Token;