1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859open!ImportmoduleReason=struct(*_ Some of these come from [Parsexp_symbolic_automaton.Parse_error_reason]. *)typet=(*$ Parsexp_cinaps_helpers.Gen_parse_error.print_constructors () *)|Automaton_in_error_state|Comment_token_in_unquoted_atom|Unexpected_char_parsing_dec_escape|Unexpected_char_parsing_hex_escape|Unexpected_character_after_cr|Unterminated_block_comment|Unterminated_quoted_string(*$*)|Closed_paren_without_opened|Escape_sequence_out_of_range|No_sexp_found_in_input|Sexp_comment_without_sexp|Too_many_sexps|Unclosed_parenendmoduletypeParse_error=sigtypet[@@deriving_inlinesexp_of]includesig[@@@ocaml.warning"-32"]valsexp_of_t:t->Sexplib0.Sexp.tend[@@ocaml.doc"@inline"][@@@end]valposition:t->Positions.posvalmessage:t->string(** Report an error in a style similar to OCaml, for instance:
File "blah", line 42, character 10:
Error: s-expression parsing error;
unterminated quoted string.
*)valreport:Format.formatter->filename:string->t->unitexceptionParse_erroroft(**/**)modulePrivate:sigmoduleReason=Reason(** To match the old behavior, the old parser sometimes raised [Failure] and sometimes
raised [Parse_error] *)valold_parser_exn:t->[`Parse_error|`Failure]valraise:Reason.t->Positions.pos->at_eof:bool->atom_buffer:Buffer.t->'aendend