Module Ocaml_typing.Import_info
module CU := Ocaml_typing.Compilation_unitEither an interface (.cmi) or implementation (.cmo/x) import. Should be avoided in new code, in preference to Intf.t or Impl.t.
val create :
CU.Name.t ->
crc_with_unit:(CU.t * string) option ->
Ocaml_typing.Import_info.tval create_normal : CU.t -> crc:string option -> Ocaml_typing.Import_info.tval name : Ocaml_typing.Import_info.t -> CU.Name.tval cu : Ocaml_typing.Import_info.t -> CU.tThis function will cause a fatal error if a CU.t was not provided when the supplied value of type t was created.
val crc : Ocaml_typing.Import_info.t -> string optionval has_name : Ocaml_typing.Import_info.t -> name:CU.Name.t -> boolval dummy : Ocaml_typing.Import_info.tmodule Intf : sig ... endThe preferred API to use for interface imports. An interface import might be a parameter, in which case it has a CRC but no CU.t (since a CU.t is for an implementation).
module Impl : sig ... end