ghc-9.0.0.20200925: The GHC API
Safe HaskellNone
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] -> Hsc (HieASTs TypeIndex, Array TypeIndex HieTypeFlat) Source #

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