Module Persistent_env
module Consistbl_data = Import_info.Intf.Nonalias.Kindmodule Consistbl :
module type of struct include Consistbl.Make(Compilation_unit.Name)(Consistbl_data) endtype error = | Illegal_renaming of Compilation_unit.Name.t * Compilation_unit.Name.t * Misc.filepath| Inconsistent_import of Compilation_unit.Name.t * Misc.filepath * Misc.filepath| Need_recursive_types of Compilation_unit.Name.t| Inconsistent_package_declaration_between_imports of Misc.filepath * Compilation_unit.t * Compilation_unit.t| Direct_reference_from_wrong_package of Compilation_unit.t * Misc.filepath * Compilation_unit.Prefix.t| Illegal_import_of_parameter of Global_module.Name.t * Misc.filepath| Not_compiled_as_parameter of Global_module.Name.t| Imported_module_has_unset_parameter of {imported : Global_module.Name.t;parameter : Global_module.Parameter_name.t;
}| Imported_module_has_no_such_parameter of {imported : Compilation_unit.Name.t;valid_parameters : Global_module.Parameter_name.t list;parameter : Global_module.Parameter_name.t;value : Global_module.Name.t;
}| Not_compiled_as_argument of {param : Global_module.Parameter_name.t;value : Global_module.Name.t;filename : Misc.filepath;
}| Argument_type_mismatch of {value : Global_module.Name.t;filename : Misc.filepath;expected : Global_module.Parameter_name.t;actual : Global_module.Parameter_name.t;
}| Unbound_module_as_argument_value of {instance : Global_module.Name.t;value : Global_module.Name.t;
}
exception Error of Persistent_env.errorval report_error : Stdlib.Format.formatter -> Persistent_env.error -> unitmodule Persistent_signature : sig ... endval empty : unit -> 'a Persistent_env.tval clear : 'a Persistent_env.t -> unitval clear_missing : 'a Persistent_env.t -> unitval fold :
'a Persistent_env.t ->
(Global_module.Name.t -> 'a -> 'b -> 'b) ->
'b ->
'btype address = | Aunit of Compilation_unit.t| Alocal of Ident.t| Adot of Persistent_env.address * Types.module_representation * int
type 'a sig_reader =
Subst.Lazy.signature ->
Global_module.Name.t ->
Shape.Uid.t ->
shape:Shape.t ->
address:Persistent_env.address ->
flags:Cmi_format.pers_flags list ->
'aval read :
'a Persistent_env.t ->
Global_module.Name.t ->
Unit_info.Artifact.t ->
Subst.Lazy.signatureval find :
allow_hidden:bool ->
'a Persistent_env.t ->
'a Persistent_env.sig_reader ->
Global_module.Name.t ->
allow_excess_args:bool ->
'aval find_in_cache : 'a Persistent_env.t -> Global_module.Name.t -> 'a optionval check :
allow_hidden:bool ->
'a Persistent_env.t ->
'a Persistent_env.sig_reader ->
loc:Location.t ->
Global_module.Name.t ->
unitval register_parameter :
'a Persistent_env.t ->
Global_module.Parameter_name.t ->
unitval is_parameter_import : 'a Persistent_env.t -> Global_module.Name.t -> boolval looked_up : 'a Persistent_env.t -> Global_module.Name.t -> boolval is_imported_opaque : 'a Persistent_env.t -> Compilation_unit.Name.t -> boolval register_import_as_opaque :
'a Persistent_env.t ->
Compilation_unit.Name.t ->
unitval implemented_parameter :
'a Persistent_env.t ->
Global_module.Name.t ->
Global_module.Parameter_name.t optionval global_of_global_name :
'a Persistent_env.t ->
check:bool ->
Global_module.Name.t ->
allow_excess_args:bool ->
Global_module.tval normalize_global_name :
'a Persistent_env.t ->
Global_module.Name.t ->
Global_module.Name.tval make_cmi :
'a Persistent_env.t ->
Compilation_unit.Name.t ->
Cmi_format.kind ->
Subst.Lazy.signature ->
Misc.alerts ->
Cmi_format.cmi_infos_lazyval save_cmi :
'a Persistent_env.t ->
Persistent_env.Persistent_signature.t ->
unitval can_load_cmis : 'a Persistent_env.t -> Persistent_env.can_load_cmisval set_can_load_cmis :
'a Persistent_env.t ->
Persistent_env.can_load_cmis ->
unitval without_cmis : 'a Persistent_env.t -> ('b -> 'c) -> 'b -> 'cval import_crcs :
'a Persistent_env.t ->
source:Misc.filepath ->
Import_info.Intf.t array ->
unitval imports : 'a Persistent_env.t -> Import_info.Intf.t listval require_global_for_quote :
'a Persistent_env.t ->
Compilation_unit.Name.t ->
unitval quoted_globals : 'a Persistent_env.t -> Compilation_unit.Name.t listval runtime_parameter_bindings :
'a Persistent_env.t ->
(Global_module.t * Ident.t) listval is_bound_to_runtime_parameter : 'a Persistent_env.t -> Ident.t -> boolval is_imported_parameter : 'a Persistent_env.t -> Global_module.Name.t -> boolval parameters : 'a Persistent_env.t -> Global_module.Parameter_name.t listval crc_of_unit :
'a Persistent_env.t ->
Compilation_unit.Name.t ->
Stdlib.Digest.tval add_delayed_check_forward : ((unit -> unit) -> unit) Stdlib.ref