Data for a module node in a ModuleGraph. Module nodes of the module graph
are one of:
A regular Haskell source module
A hi-boot source module
Constructors
ModSummaryms_mod :: ModuleIdentity of the module
ms_hsc_src :: HscSourceThe module source either plain Haskell, hs-boot, or hsig
ms_location :: ModLocationLocation of the various files belonging to the module
ms_hs_hash :: FingerprintContent hash of source file
ms_obj_date :: Maybe UTCTimeTimestamp of object, if we have one
ms_dyn_obj_date :: !Maybe UTCTimeTimestamp of dynamic object, if we have one
ms_iface_date :: Maybe UTCTimeTimestamp of hi file, if we have one See Note [When source is considered modified] and #9243
ms_hie_date :: Maybe UTCTimeTimestamp of hie file, if we have one
ms_srcimps :: [(PkgQual, Located ModuleName)]Source imports of the module
ms_textual_imps :: [(PkgQual, Located ModuleName)]Non-source imports of the module from the module *text*
ms_ghc_prim_import :: !BoolWhether the special module GHC.Prim was imported explicitly
ms_parsed_mod :: Maybe HsParsedModuleThe parsed, nonrenamed source, if we have it. This is also used to support "inline module syntax" in Backpack files.
ms_hspp_file :: FilePathFilename of preprocessed source file
ms_hspp_opts :: DynFlagsCached flags from
OPTIONS,INCLUDEandLANGUAGEpragmas in the modules source codems_hspp_buf :: Maybe StringBufferThe actual preprocessed source, if we have it
Instances1Outputable
Outputable ModSummaryDefined in ghc-9.10.3 · GHC.Unit.Module.ModSummary