module Stack : sig ... endmodule Kind : sig ... endmodule Mode : sig ... endmodule State : sig ... endtype (!'u, !'s) t = ('u, 's) State.tval create :
?initial_pos:Parsexp__.Positions.pos ->
('u, 's) Mode.t ->
('u, 's) Kind.t ->
('u, 's) tval reset : ?pos:Parsexp__.Positions.pos -> ('a, 'b) t -> unitval positions : (Parsexp__.Positions.Builder.t, 'a) t -> Parsexp__.Positions.tval mode : ('u, 's) t -> ('u, 's) Mode.tval offset : ('a, 'b) t -> intval line : ('a, 'b) t -> intval column : ('a, 'b) t -> intval has_unclosed_paren : ('u, 's) t -> boolval set_error_state : ('a, 'b) t -> unitval automaton_state : ('u, 's) t -> intval feed_bytes : ('a, 'stack) t -> bytes -> 'stack -> 'stackval feed_string : ('a, 'stack) t -> string -> 'stack -> 'stackval feed_subbytes :
('a, 'stack) t ->
bytes ->
pos:int ->
len:int ->
'stack ->
'stackval feed_substring :
('a, '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 -> Parsexp__.Old_parser_cont_state.tval of_substring :
('u, 's) Mode.t ->
('u, 's) Kind.t ->
string ->
pos:int ->
len:int ->
('u, 's) t * 's