Module Ppxlib_ast.Syntaxerr

Auxiliary type for reporting syntax errors

type error =
| Unclosed of Ppxlib_ast__.Import.Location.t * string * Ppxlib_ast__.Import.Location.t * string
| Expecting of Ppxlib_ast__.Import.Location.t * string
| Not_expecting of Ppxlib_ast__.Import.Location.t * string
| Applicative_path of Ppxlib_ast__.Import.Location.t
| Variable_in_scope of Ppxlib_ast__.Import.Location.t * string
| Other of Ppxlib_ast__.Import.Location.t
| Ill_formed_ast of Ppxlib_ast__.Import.Location.t * string
| Invalid_package_type of Ppxlib_ast__.Import.Location.t * string
exception Error of error
exception Escape_error
val report_error : Format.formatter ‑> error ‑> unit
val location_of_error : error ‑> Ppxlib_ast__.Import.Location.t
val ill_formed_ast : Ppxlib_ast__.Import.Location.t ‑> string ‑> 'a