module Syntaxerr:sig
..end
Auxiliary type for reporting syntax errors
Warning: this module is unstable and part of compiler-libs.
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 |
| |
Removed_string_set of |
exception Error of error
exception Escape_error
val location_of_error : error -> Location.t
val ill_formed_ast : Location.t -> string -> 'a