= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package parsexp
-
parsexp
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module Context : sig ... end
module For_cst : sig ... end
module Kind : sig ... end
module Mode : sig ... end
module State : sig ... end
type ('u, 's) t = ('u, 's) State.t
val create :
?initial_pos:Positions.pos ->
('u, 's) Mode.t ->
('u, 's) Kind.t ->
('u, 's) t
val reset : ?pos:Positions.pos -> (_, _) t -> unit
val positions : (Positions.Builder.t, _) t -> Positions.t
val offset : (_, _) t -> int
Number of characters fed to the parser
val line : (_, _) t -> int
Position in the text
val column : (_, _) t -> int
val has_unclosed_paren : ('u, 's) t -> bool
Whether there are some unclosed parentheses
val set_error_state : (_, _) t -> unit