Module Parsexp.Single_just_positions
type parsed_value
= Positions.t
Values produced by the parser
module State : Parsexp__.Parser_intf.State
module Stack : Parsexp__.Parser_intf.Stack
val feed : State.t -> char -> Stack.t -> Stack.t
Feed one character to the parser. In case of error, it raises
Parse_error
val feed_eoi : State.t -> Stack.t -> parsed_value
Instruct the parser that the end of input was reached. In case of error, it raises
Parse_error
Convenience functions
High-level functions
val parse_string : string -> (parsed_value, Parse_error.t) Stdlib.result
val parse_string_exn : string -> parsed_value