ghc-lib-0.20210601: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Iface.Env

Synopsis

Documentation

externaliseName :: Module -> Name -> TcRnIf m n Name Source #

lookupIfaceTop :: OccName -> IfL Name Source #

Look up a top-level name from the current Iface module

lookupOrig :: Module -> OccName -> TcRnIf a b Name Source #

Look up the Name for a given Module and OccName. Consider alternatively using lookupIfaceTop if you're in the IfL monad and Module is simply that of the ModIface you are typechecking.

lookupOrigNameCache :: OrigNameCache -> Module -> OccName -> Maybe Name #

extendIfaceIdEnv :: [Id] -> IfL a -> IfL a Source #

extendIfaceTyVarEnv :: [TyVar] -> IfL a -> IfL a Source #

tcIfaceLclId :: FastString -> IfL Id Source #

tcIfaceTyVar :: FastString -> IfL TyVar Source #

lookupIfaceVar :: IfaceBndr -> IfL (Maybe TyCoVar) Source #

lookupIfaceTyVar :: IfaceTvBndr -> IfL (Maybe TyVar) Source #

extendIfaceEnvs :: [TyCoVar] -> IfL a -> IfL a Source #

setNameModule :: Maybe Module -> Name -> TcRnIf m n Name Source #

Set the Module of a Name.

ifaceExportNames :: [IfaceExport] -> TcRnIf gbl lcl [AvailInfo] Source #

trace_if :: Logger -> DynFlags -> SDoc -> IO () Source #

trace_hi_diffs :: Logger -> DynFlags -> SDoc -> IO () Source #