ghc-9.2.0.20210821: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Iface.Ext.Ast

Synopsis

Documentation

mkHieFile :: ModSummary -> TcGblEnv -> RenamedSource -> Hsc HieFile Source #

Construct an HieFile from the outputs of the typechecker.

mkHieFileWithSource :: FilePath -> ByteString -> ModSummary -> TcGblEnv -> RenamedSource -> Hsc HieFile Source #

Construct an HieFile from the outputs of the typechecker but don't read the source file again from disk.

getCompressedAsts :: TypecheckedSource -> RenamedSource -> Bag EvBind -> [ClsInst] -> [TyCon] -> DsM (HieASTs TypeIndex, Array TypeIndex HieTypeFlat) Source #

enrichHie :: TypecheckedSource -> RenamedSource -> Bag EvBind -> [ClsInst] -> [TyCon] -> DsM (HieASTs Type) Source #