Private.Automatonmodule Stack : sig ... endmodule Context : sig ... endmodule For_cst : sig ... endmodule Kind : sig ... endmodule Mode : sig ... endmodule State : sig ... endtype ('u, 's) t = ('u, 's) State.tval create :
?initial_pos:Positions.pos ->
('u, 's) Mode.t ->
('u, 's) Kind.t ->
('u, 's) tval reset : ?pos:Positions.pos -> (_, _) t -> unitval positions : (Positions.Builder.t, _) t -> Positions.tval offset : (_, _) t -> intNumber of characters fed to the parser
val line : (_, _) t -> intPosition in the text
val column : (_, _) t -> intval has_unclosed_paren : ('u, 's) t -> boolWhether there are some unclosed parentheses
val set_error_state : (_, _) t -> unitval feed_bytes : (_, 'stack) t -> bytes -> 'stack -> 'stackval feed_string : (_, 'stack) t -> string -> 'stack -> 'stackval feed_subbytes :
(_, 'stack) t ->
bytes ->
pos:int ->
len:int ->
'stack ->
'stackval feed_substring :
(_, 'stack) t ->
string ->
pos:int ->
len:int ->
'stack ->
'stackval feed : ('a, 'b) t -> char -> 'b -> 'bval feed_eoi : ('a, 'b) t -> 'b -> 'bval old_parser_cont_state : ('a, 'b) t -> Old_parser_cont_state.t