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