Reason_errorsSourcetype lexing_error = | Illegal_character of char| Illegal_escape of string| Unterminated_comment of Reason_omp.Ast_411.Location.t| Unterminated_string| Unterminated_string_in_comment of Reason_omp.Ast_411.Location.t
* Reason_omp.Ast_411.Location.t| Keyword_as_label of string| Literal_overflow of string| Invalid_literal of stringtype ast_error = | Not_expecting of Reason_omp.Ast_411.Location.t * string| Other_syntax_error of string| Variable_in_scope of Reason_omp.Ast_411.Location.t * string| Applicative_path of Reason_omp.Ast_411.Location.ttype reason_error = | Lexing_error of lexing_error| Parsing_error of parsing_error| Ast_error of ast_errorval recover_non_fatal_errors :
(unit -> 'a) ->
('a, exn) Result.result * (reason_error * Reason_omp.Ast_411.Location.t) listval recover_parser_error :
(Reason_omp.Ast_411.Location.t -> string -> 'a) ->
Reason_omp.Ast_411.Location.t ->
string ->
'aval report_error :
Format.formatter ->
loc:Reason_omp.Ast_411.Location.t ->
reason_error ->
unitval error_extension_node_from_recovery :
Reason_omp.Ast_411.Location.t ->
string ->
string Reason_omp.Ast_411.Location.loc * Reason_omp.Ast_411.Parsetree.payloadval error_extension_node :
Reason_omp.Ast_411.Location.t ->
string ->
string Reason_omp.Ast_411.Location.loc * Reason_omp.Ast_411.Parsetree.payload