TypemodType-checking of the module language and typed ast hooks
Warning: this module is unstable and part of compiler-libs.
module Signature_names : sig ... endval type_module : Env.t -> Parsetree.module_expr -> Typedtree.module_exprval type_structure : Env.t -> Parsetree.structure -> Typedtree.structure * Types.signature * Signature_names.t * Env.tval type_toplevel_phrase : Env.t -> Parsetree.structure -> Typedtree.structure * Types.signature * Signature_names.t * Env.tval type_implementation : string -> string -> string -> Env.t -> Parsetree.structure -> Typedtree.structure * Typedtree.module_coercionval type_interface : Env.t -> Parsetree.signature -> Typedtree.signatureval transl_signature : Env.t -> Parsetree.signature -> Typedtree.signatureval check_nongen_schemes : Env.t -> Types.signature -> unitval modtype_of_package : Env.t -> Location.t -> Path.t -> Longident.t list -> Types.type_expr list -> Types.module_typeval path_of_module : Typedtree.module_expr -> Path.t optionval save_signature : string -> Typedtree.signature -> string -> string -> Env.t -> Cmi_format.cmi_infos -> unitval package_units : Env.t -> string list -> string -> string -> Typedtree.module_coercionval initial_env : loc:Location.t -> safe_string:bool ->
initially_opened_module:string option -> open_implicit_modules:string list -> Env.tmodule Sig_component_kind : sig ... endtype hiding_error = | Illegal_shadowing of {
 } | |||||||
| Appears_in_signature of {
 } | 
type error = | Cannot_apply of Types.module_type | 
| Not_included of Includemod.error list | 
| Cannot_eliminate_dependency of Types.module_type | 
| Signature_expected | 
| Structure_expected of Types.module_type | 
| With_no_component of Longident.t | 
| With_mismatch of Longident.t * Includemod.error list | 
| With_makes_applicative_functor_ill_typed of Longident.t * Path.t * Includemod.error list | 
| With_changes_module_alias of Longident.t * Ident.t * Path.t | 
| With_cannot_remove_constrained_type | 
| Repeated_name of Sig_component_kind.t * string | 
| Non_generalizable of Types.type_expr | 
| Non_generalizable_class of Ident.t * Types.class_declaration | 
| Non_generalizable_module of Types.module_type | 
| Implementation_is_required of string | 
| Interface_not_compiled of string | 
| Not_allowed_in_functor_body | 
| Not_a_packed_module of Types.type_expr | 
| Incomplete_packed_module of Types.type_expr | 
| Scoping_pack of Longident.t * Types.type_expr | 
| Recursive_module_require_explicit_type | 
| Apply_generative | 
| Cannot_scrape_alias of Path.t | 
| Cannot_scrape_package_type of Path.t | 
| Badly_formed_signature of string * Typedecl.error | 
| Cannot_hide_id of hiding_error | 
| Invalid_type_subst_rhs | 
exception Error of Location.t * Env.t * errorexception Error_forward of Location.errorval report_error : Env.t -> Format.formatter -> error -> unit