summaryrefslogtreecommitdiff
path: root/src/packrat-lexer-combinators.ads
diff options
context:
space:
mode:
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;