diff options
author | Jed Barber <jjbarber@y7mail.com> | 2019-01-14 14:59:54 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2019-01-14 14:59:54 +1100 |
commit | c0ba281a0bf3edc564a4fee61375691f35632be4 (patch) | |
tree | b6628e49035f21b1f744ad22d684a1b63bafff6b /test/packrat-lexer-debug.ads | |
parent | 93406e9b26f9e4439a8e4d57659489323a4e57b4 (diff) |
Merged Packrat.Lexer.Combinators into Packrat.Lexer, separated debugging functions into subpackage in /test subdir
Diffstat (limited to 'test/packrat-lexer-debug.ads')
-rw-r--r-- | test/packrat-lexer-debug.ads | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/test/packrat-lexer-debug.ads b/test/packrat-lexer-debug.ads new file mode 100644 index 0000000..e8ddf7b --- /dev/null +++ b/test/packrat-lexer-debug.ads @@ -0,0 +1,37 @@ + + +generic +package Packrat.Lexer.Debug is + + + Empty_Fail : constant Combinator_Result; + + + function Create_Result + (Length : in Natural; + Status : in Result_Status; + Value : in Element_Array) + return Combinator_Result; + + function Join + (Left, Right : in Combinator_Result) + return Combinator_Result; + + function Status + (This : in Combinator_Result) + return Result_Status; + + function Debug_String + (This : in Combinator_Result) + return String; + + +private + + + Empty_Fail : constant Combinator_Result := Packrat.Lexer.Empty_Fail; + + +end Packrat.Lexer.Debug; + + |