jon.recoil.org

Module Import_info.Intf

The 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 Nonalias : sig ... end

create name nonalias is create_normal name cu crc if nonalias is Some (Normal cu, crc), create_parameter name crc if nonalias is Some (Parameter, crc), and create_alias if nonalias is None. Useful when nonalias is coming out of Consistbl.

val has_name : Ocaml_typing.Import_info.Intf.t -> name:CU.Name.t -> bool