Ocaml_common.Syntaxerr
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 * invalid_package_type
| Removed_string_set of Ocaml_common.Location.t
exception Error of error
val location_of_error : error -> Ocaml_common.Location.t
val ill_formed_ast : Ocaml_common.Location.t -> string -> 'a