Module Ocaml_common.Syntaxerr

type invalid_package_type =
  1. | Parameterized_types
  2. | Constrained_types
  3. | Private_types
  4. | Not_with_type
  5. | Neither_identifier_nor_with_type
type error =
  1. | Unclosed of Ocaml_common.Location.t * string * Ocaml_common.Location.t * string
  2. | Expecting of Ocaml_common.Location.t * string
  3. | Not_expecting of Ocaml_common.Location.t * string
  4. | Applicative_path of Ocaml_common.Location.t
  5. | Variable_in_scope of Ocaml_common.Location.t * string
  6. | Other of Ocaml_common.Location.t
  7. | Ill_formed_ast of Ocaml_common.Location.t * string
  8. | Invalid_package_type of Ocaml_common.Location.t * invalid_package_type
  9. | Removed_string_set of Ocaml_common.Location.t
exception Error of error
exception Escape_error
val location_of_error : error -> Ocaml_common.Location.t
val ill_formed_ast : Ocaml_common.Location.t -> string -> 'a