reason

Reason: Syntax & Toolchain for OCaml
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library reason
Module Reason_errors
type 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 string
type 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.t
type parsing_error = string
type reason_error =
| Lexing_error of lexing_error
| Parsing_error of parsing_error
| Ast_error of ast_error
exception Reason_error of reason_error * Reason_omp.Ast_411.Location.t
val raise_error : reason_error -> Reason_omp.Ast_411.Location.t -> unit
val raise_fatal_error : reason_error -> Reason_omp.Ast_411.Location.t -> 'a
val recover_non_fatal_errors : ( unit -> 'a ) -> ( 'a, exn ) Result.result * (reason_error * Reason_omp.Ast_411.Location.t) list
val recover_parser_error : ( Reason_omp.Ast_411.Location.t -> string -> 'a ) -> Reason_omp.Ast_411.Location.t -> string -> 'a
val report_error : Format.formatter -> loc:Reason_omp.Ast_411.Location.t -> reason_error -> unit
val error_extension_node_from_recovery : Reason_omp.Ast_411.Location.t -> string -> string Reason_omp.Ast_411.Location.loc * Reason_omp.Ast_411.Parsetree.payload