Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- mkHieFile :: ModSummary -> TcGblEnv -> RenamedSource -> Hsc HieFile
- mkHieFileWithSource :: FilePath -> ByteString -> ModSummary -> TcGblEnv -> RenamedSource -> Hsc HieFile
- getCompressedAsts :: TypecheckedSource -> RenamedSource -> Bag EvBind -> [ClsInst] -> [TyCon] -> Hsc (HieASTs TypeIndex, Array TypeIndex HieTypeFlat)
- enrichHie :: TypecheckedSource -> RenamedSource -> Bag EvBind -> [ClsInst] -> [TyCon] -> Hsc (HieASTs Type)
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.