Module Lang.Compilation_unitSource

module Import : sig ... end
module Source : sig ... end
module Packed : sig ... end
type content =
  1. | Module of Signature.t
  2. | Pack of Packed.t
type t = {
  1. id : Paths.Identifier.RootModule.t;
  2. root : Root.t;
  3. digest : Digest.t;
  4. imports : Import.t list;
  5. source : Source.t option;
  6. interface : bool;
  7. hidden : bool;
  8. content : content;
  9. expansion : Signature.t option;
  10. linked : bool;
    (*

    Whether this unit has been linked.

    *)
  11. canonical : Paths.Path.Module.t option;
  12. source_info : Source_info.t option;
  13. shape_info : (Compat.shape * Paths.Identifier.SourceLocation.t Compat.shape_uid_map) option;
}