aboutsummaryrefslogtreecommitdiff
path: root/lib/lexbuf.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lexbuf.mli')
-rw-r--r--lib/lexbuf.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lexbuf.mli b/lib/lexbuf.mli
index b058f3c..918c011 100644
--- a/lib/lexbuf.mli
+++ b/lib/lexbuf.mli
@@ -17,3 +17,9 @@ val content : t -> string
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 *)