From 97ab5c9a21166f0bffee482210d69877fd6809fa Mon Sep 17 00:00:00 2001 From: Chimrod <> Date: Fri, 6 Oct 2023 08:35:56 +0200 Subject: Moved qparser and syntax in the library folder --- lib/lexbuf.mli | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 lib/lexbuf.mli (limited to 'lib/lexbuf.mli') diff --git a/lib/lexbuf.mli b/lib/lexbuf.mli deleted file mode 100644 index 41f07d1..0000000 --- a/lib/lexbuf.mli +++ /dev/null @@ -1,25 +0,0 @@ -type t - -val from_lexbuf : ?reset_line:bool -> Sedlexing.lexbuf -> t -(** Create a new buffer *) - -val start : t -> unit -(** Intialize a new run *) - -val buffer : t -> Sedlexing.lexbuf -(** Extract the sedlex buffer. Required in each rule. *) - -val positions : t -> Lexing.position * Lexing.position -(** Extract the starting and ending position for the matched token *) - -val content : t -> string -(** Extract the token matched by the rule *) - -val set_start_position : t -> Lexing.position -> unit -val tokenize : (t -> 'a) -> t -> unit -> 'a * Lexing.position * Lexing.position -val incr_level : t -> unit -val decr_level : t -> unit -val reset_level : t -> unit - -val level : t -> int -(** Return the nested expression level *) -- cgit v1.2.3