Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type error =
| Unclosed of Ocaml_common.Location.t * string * Ocaml_common.Location.t * string
| Expecting of Ocaml_common.Location.t * string
| Not_expecting of Ocaml_common.Location.t * string
| Applicative_path of Ocaml_common.Location.t
| Variable_in_scope of Ocaml_common.Location.t * string
| Other of Ocaml_common.Location.t
| Ill_formed_ast of Ocaml_common.Location.t * string
| Invalid_package_type of Ocaml_common.Location.t * string
exception Error of error
val report_error : Format.formatter -> error -> unit
val location_of_error : error -> Ocaml_common.Location.t
val ill_formed_ast : Ocaml_common.Location.t -> string -> 'a