package ppx_ast

  1. Overview
  2. Docs
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 * string
exception Error of error
exception Escape_error
val report_error : Format.formatter -> error -> unit
val location_of_error : error -> Ocaml_common.Location.t
val ill_formed_ast : Ocaml_common.Location.t -> string -> 'a
OCaml

Innovation. Community. Security.