module Syntaxerr:sig
..end
type
error =
| |
Unclosed of |
| |
Expecting of |
| |
Not_expecting of |
| |
Applicative_path of |
| |
Variable_in_scope of |
| |
Other of |
| |
Ill_formed_ast of |
| |
Invalid_package_type of |
exception Error of error
exception Escape_error
val report_error : Format.formatter -> error -> unit
val location_of_error : error -> Location.t
val ill_formed_ast : Location.t -> string -> 'a