package ocaml-base-compiler

  1. Overview
  2. Docs
val type_implementation : string -> string -> string -> Env.t -> Parsetree.structure -> Typedtree.structure * Typedtree.module_coercion
val type_interface : string -> Env.t -> Parsetree.signature -> Typedtree.signature
val transl_signature : Env.t -> Parsetree.signature -> Typedtree.signature
val check_nongen_schemes : Env.t -> Types.signature -> unit
val type_open_ : ?toplevel:bool -> Asttypes.override_flag -> Env.t -> Location.t -> Longident.t Asttypes.loc -> Path.t * Env.t
val modtype_of_package : Env.t -> Location.t -> Path.t -> Longident.t list -> Types.type_expr list -> Types.module_type
val simplify_signature : Types.signature -> Types.signature
val path_of_module : Typedtree.module_expr -> Path.t option
val save_signature : string -> Typedtree.signature -> string -> string -> Env.t -> Cmi_format.cmi_infos -> unit
val package_units : Env.t -> string list -> string -> string -> Typedtree.module_coercion
type error =
  1. | Cannot_apply of Types.module_type
  2. | Not_included of Includemod.error list
  3. | Cannot_eliminate_dependency of Types.module_type
  4. | Signature_expected
  5. | Structure_expected of Types.module_type
  6. | With_no_component of Longident.t
  7. | With_mismatch of Longident.t * Includemod.error list
  8. | Repeated_name of string * string
  9. | Non_generalizable of Types.type_expr
  10. | Non_generalizable_class of Ident.t * Types.class_declaration
  11. | Non_generalizable_module of Types.module_type
  12. | Implementation_is_required of string
  13. | Interface_not_compiled of string
  14. | Not_allowed_in_functor_body
  15. | With_need_typeconstr
  16. | Not_a_packed_module of Types.type_expr
  17. | Incomplete_packed_module of Types.type_expr
  18. | Scoping_pack of Longident.t * Types.type_expr
  19. | Recursive_module_require_explicit_type
  20. | Apply_generative
  21. | Cannot_scrape_alias of Path.t
exception Error of Location.t * Env.t * error
exception Error_forward of Location.error
val report_error : Env.t -> Format.formatter -> error -> unit
OCaml

Innovation. Community. Security.