diff options
author | Jed Barber <jjbarber@y7mail.com> | 2019-01-13 23:19:19 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2019-01-13 23:19:19 +1100 |
commit | 93406e9b26f9e4439a8e4d57659489323a4e57b4 (patch) | |
tree | 101867e1790804885037cf2998a9466532902bc8 /src/packrat-lexer.adb | |
parent | f8cef7edffc705cc1c168620a6ba0e76a90f6366 (diff) |
Spec for Packrat.Lexer Stamp, Scan, and derivative functions and procedures
Diffstat (limited to 'src/packrat-lexer.adb')
-rw-r--r-- | src/packrat-lexer.adb | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/packrat-lexer.adb b/src/packrat-lexer.adb index ce793a5..614452b 100644 --- a/src/packrat-lexer.adb +++ b/src/packrat-lexer.adb @@ -153,6 +153,86 @@ package body Packrat.Lexer is end Debug_String; + + + + procedure Stamp + (Context : in out Lexer_Context) is + begin + null; + end Stamp; + + + procedure Ignore + (Context : in out Lexer_Context) is + begin + null; + end Ignore; + + + + + + function Scan + (Input : in Element_Array; + Context : in out Lexer_Context) + return Gen_Tokens.Token_Array + is + Result : Gen_Tokens.Token_Array (1 .. 0); + begin + return Result; + end Scan; + + + procedure Scan_Set + (Input : in Element_Array; + Context : in out Lexer_Context; + Output : out Gen_Tokens.Token_Array) is + begin + null; + end Scan_Set; + + + function Scan_Only + (Input : in Element_Array; + Context : in out Lexer_Context) + return Gen_Tokens.Token_Array + is + Result : Gen_Tokens.Token_Array (1 .. 0); + begin + return Result; + end Scan_Only; + + + procedure Scan_Set_Only + (Input : in Element_Array; + Context : in out Lexer_Context; + Output : out Gen_Tokens.Token_Array) is + begin + null; + end Scan_Set_Only; + + + function Scan_With + (Input : in Element_Array; + Context : in out Lexer_Context) + return Gen_Tokens.Token_Array + is + Result : Gen_Tokens.Token_Array (1 .. 0); + begin + return Result; + end Scan_With; + + + procedure Scan_Set_With + (Input : in Element_Array; + Context : in out Lexer_Context; + Output : out Gen_Tokens.Token_Array) is + begin + null; + end Scan_Set_With; + + end Packrat.Lexer; |