diff options
author | Chimrod <> | 2023-09-28 09:16:56 +0200 |
---|---|---|
committer | Chimrod <> | 2023-09-29 10:00:21 +0200 |
commit | 7fc4021d888b4f16f8fa87c0ea1df68d3806df64 (patch) | |
tree | ec06b304b6e32a086aaeb4a1e866a255a199bc1a /lib/lexer.mli | |
parent | 5dc0c5defdd7ebb152a00e8b2895787b54931779 (diff) |
Renamed the lexer
Diffstat (limited to 'lib/lexer.mli')
-rw-r--r-- | lib/lexer.mli | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/lexer.mli b/lib/lexer.mli new file mode 100644 index 0000000..41c7c11 --- /dev/null +++ b/lib/lexer.mli @@ -0,0 +1,10 @@ +module type Encoding = sig + val lexeme : Sedlexing.lexbuf -> string +end + +val lexer : + (module Encoding) -> + Sedlexing.lexbuf -> + unit -> + Tokens.token * Lexing.position * Lexing.position +(** Apply the lexer to the source *) |