summaryrefslogtreecommitdiff
path: root/src/packrat-lexer-combinators.ads
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2019-01-10 23:29:16 +1100
committerJed Barber <jjbarber@y7mail.com>2019-01-10 23:29:16 +1100
commit670e21a7aa4b1eb9ed1862a4faa7e0d62d0899cf (patch)
tree91d47461c104f1586ec21f8edc6c752ccbea5920 /src/packrat-lexer-combinators.ads
parent6e413884feaf4d037d8c60efdf2ad98ef0034907 (diff)
Test framework for Lexer Combinators
Diffstat (limited to 'src/packrat-lexer-combinators.ads')
-rw-r--r--src/packrat-lexer-combinators.ads10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/packrat-lexer-combinators.ads b/src/packrat-lexer-combinators.ads
index 08bdbec..b346b0a 100644
--- a/src/packrat-lexer-combinators.ads
+++ b/src/packrat-lexer-combinators.ads
@@ -155,7 +155,7 @@ package Packrat.Lexer.Combinators is
generic
EOL_Item : in Element;
- function Start_Of_Line
+ function Line_Start
(Input : in Element_Array;
Start : in Positive;
Length : out Natural;
@@ -164,21 +164,23 @@ package Packrat.Lexer.Combinators is
generic
EOL_Item : in Element;
- function End_Of_Line
+ function Line_End
(Input : in Element_Array;
Start : in Positive;
Length : out Natural;
Value : out Element_Array)
return Result;
- function Start_Of_Input
+ function Input_Start
(Input : in Element_Array;
Start : in Positive;
Length : out Natural;
Value : out Element_Array)
return Result;
- function End_Of_Input
+ generic
+ EOF_Item : in Element;
+ function Input_End
(Input : in Element_Array;
Start : in Positive;
Length : out Natural;