RnEnv

ghc-7.0.4: The GHC API

RnEnv

# Documentation

newTopSrcBinder :: Located RdrName -> RnM Name

lookupFamInstDeclBndr :: GlobalRdrEnv -> Located RdrName -> RnM Name

lookupLocatedTopBndrRn :: Located RdrName -> RnM (Located Name)

lookupTopBndrRn :: RdrName -> RnM Name

lookupLocatedOccRn :: Located RdrName -> RnM (Located Name)

lookupOccRn :: RdrName -> RnM Name

lookupLocatedGlobalOccRn :: Located RdrName -> RnM (Located Name)

lookupGlobalOccRn :: RdrName -> RnM Name

lookupGlobalOccRn_maybe :: RdrName -> RnM (Maybe Name)

lookupLocalDataTcNames :: NameSet -> SDoc -> RdrName -> RnM [Name]

lookupSigOccRn :: Maybe NameSet -> Sig RdrName -> Located RdrName -> RnM (Located Name)

lookupFixityRn :: Name -> RnM Fixity

lookupTyFixityRn :: Located Name -> RnM Fixity

lookupInstDeclBndr :: Name -> RdrName -> RnM Name

lookupSubBndr :: Parent -> SDoc -> RdrName -> RnM Name

lookupConstructorFields :: Name -> RnM [Name]

lookupSyntaxName :: Name -> RnM (SyntaxExpr Name, FreeVars)

lookupSyntaxTable :: [Name] -> RnM (SyntaxTable Name, FreeVars)

lookupGreRn :: RdrName -> RnM GlobalRdrElt

lookupGreLocalRn :: RdrName -> RnM (Maybe GlobalRdrElt)

lookupGreRn_maybe :: RdrName -> RnM (Maybe GlobalRdrElt)

getLookupOccRn :: RnM (Name -> Maybe Name)

addUsedRdrNames :: [RdrName] -> RnM ()

newLocalBndrRn :: Located RdrName -> RnM Name

newLocalBndrsRn :: [Located RdrName] -> RnM [Name]

newIPNameRn :: IPName RdrName -> TcRnIf m n (IPName Name)

bindLocalName :: Name -> RnM a -> RnM a

bindLocalNames :: [Name] -> RnM a -> RnM a

bindLocalNamesFV :: [Name] -> RnM (a, FreeVars) -> RnM (a, FreeVars)

type MiniFixityEnv = FastStringEnv (Located Fixity)

emptyFsEnv :: FastStringEnv a

extendFsEnv :: FastStringEnv a -> FastString -> a -> FastStringEnv a

lookupFsEnv :: FastStringEnv a -> FastString -> Maybe a

addLocalFixities :: MiniFixityEnv -> [Name] -> RnM a -> RnM a

bindLocatedLocalsFV :: [Located RdrName] -> ([Name] -> RnM (a, FreeVars)) -> RnM (a, FreeVars)

bindLocatedLocalsRn :: [Located RdrName] -> ([Name] -> RnM a) -> RnM a

bindSigTyVarsFV :: [Name] -> RnM (a, FreeVars) -> RnM (a, FreeVars)

bindPatSigTyVars :: [LHsType RdrName] -> ([Name] -> RnM a) -> RnM a

bindPatSigTyVarsFV :: [LHsType RdrName] -> RnM (a, FreeVars) -> RnM (a, FreeVars)

bindTyVarsRn :: [LHsTyVarBndr RdrName] -> ([LHsTyVarBndr Name] -> RnM a) -> RnM a

bindTyVarsFV :: [LHsTyVarBndr RdrName] -> ([LHsTyVarBndr Name] -> RnM (a, FreeVars)) -> RnM (a, FreeVars)

extendTyVarEnvFVRn :: [Name] -> RnM (a, FreeVars) -> RnM (a, FreeVars)

checkDupRdrNames :: [Located RdrName] -> RnM ()

checkDupAndShadowedRdrNames :: [Located RdrName] -> RnM ()

checkDupNames :: [Name] -> RnM ()

checkDupAndShadowedNames :: (GlobalRdrEnv, LocalRdrEnv) -> [Name] -> RnM ()

addFvRn :: FreeVars -> RnM (thing, FreeVars) -> RnM (thing, FreeVars)

mapFvRn :: (a -> RnM (b, FreeVars)) -> [a] -> RnM ([b], FreeVars)

mapMaybeFvRn :: (a -> RnM (b, FreeVars)) -> Maybe a -> RnM (Maybe b, FreeVars)

mapFvRnCPS :: (a -> (b -> RnM c) -> RnM c) -> [a] -> ([b] -> RnM c) -> RnM c

warnUnusedMatches :: [Name] -> FreeVars -> RnM ()

warnUnusedTopBinds :: [GlobalRdrElt] -> RnM ()

warnUnusedLocalBinds :: [Name] -> FreeVars -> RnM ()

dataTcOccs :: RdrName -> [RdrName]

unknownNameErr :: RdrName -> SDoc

kindSigErr :: Outputable a => a -> SDoc

perhapsForallMsg :: SDoc