Module Ocaml_typing.Persistent_envSource
Source
module Consistbl :
module type of struct include Ocaml_utils.Consistbl.Make(Compilation_unit.Name)(Consistbl_data) endSource
type error = | Illegal_renaming of Compilation_unit.Name.t * Compilation_unit.Name.t * Ocaml_utils.Misc.filepath| Inconsistent_import of Compilation_unit.Name.t * Ocaml_utils.Misc.filepath * Ocaml_utils.Misc.filepath| Need_recursive_types of Compilation_unit.Name.t| Inconsistent_package_declaration_between_imports of Ocaml_utils.Misc.filepath * Compilation_unit.t * Compilation_unit.t| Direct_reference_from_wrong_package of Compilation_unit.t * Ocaml_utils.Misc.filepath * Compilation_unit.Prefix.t| Illegal_import_of_parameter of Global_module.Name.t * Ocaml_utils.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 : Ocaml_utils.Misc.filepath;
}| Argument_type_mismatch of {value : Global_module.Name.t;filename : Ocaml_utils.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;
}
Source
type address = | Aunit of Compilation_unit.t| Alocal of Ident.t| Adot of address * Types.module_representation * int
Source
type 'a sig_reader =
Subst.Lazy.persistent_signature ->
Global_module.Name.t ->
Shape.Uid.t ->
shape:Shape.t ->
address:address ->
flags:Cmi_format.pers_flags list ->
'aSource
val read :
'a t ->
Global_module.Name.t ->
Unit_info.Artifact.t ->
Subst.Lazy.persistent_signatureSource
val find :
allow_hidden:bool ->
'a t ->
'a sig_reader ->
(Global_module.Name.t ->
'a ->
Ocaml_typing.Short_paths.Desc.Module.components Lazy.t) ->
Global_module.Name.t ->
allow_excess_args:bool ->
'aSource
val check :
allow_hidden:bool ->
'a t ->
'a sig_reader ->
(Global_module.Name.t ->
'a ->
Ocaml_typing.Short_paths.Desc.Module.components Lazy.t) ->
loc:Ocaml_parsing.Location.t ->
Global_module.Name.t ->
unitSource
val implemented_parameter :
'a t ->
Global_module.Name.t ->
Global_module.Parameter_name.t optionSource
val global_of_global_name :
'a t ->
check:bool ->
Global_module.Name.t ->
allow_excess_args:bool ->
Global_module.tSource
val make_cmi :
'a t ->
Compilation_unit.Name.t ->
Cmi_format.kind ->
Subst.Lazy.persistent_signature ->
Ocaml_utils.Misc.alerts ->
Cmi_format.cmi_infos_lazySource
val import_crcs :
'a t ->
source:Ocaml_utils.Misc.filepath ->
Import_info.Intf.t array ->
unitSource
val loaded_transitive_dependencies :
'a t ->
Compilation_unit.Name.Set.t ->
Compilation_unit.Name.Set.tSource
val forall :
found:
(Compilation_unit.Name.t ->
Ocaml_utils.Misc.filepath ->
Compilation_unit.Name.t ->
bool) ->
missing:(Compilation_unit.Name.t -> bool) ->
'a t ->
bool