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

GHC.Rename.Splice

Synopsis

Documentation

rnTopSpliceDecls :: HsSplice GhcPs -> RnM ([LHsDecl GhcPs], FreeVars) Source #

rnSpliceType :: HsSplice GhcPs -> RnM (HsType GhcRn, FreeVars) Source #

rnSpliceExpr :: HsSplice GhcPs -> RnM (HsExpr GhcRn, FreeVars) Source #

rnSplicePat :: HsSplice GhcPs -> RnM (Either (Pat GhcPs) (Pat GhcRn), FreeVars) Source #

Rename a splice pattern. See Note [rnSplicePat]

rnSpliceDecl :: SpliceDecl GhcPs -> RnM (SpliceDecl GhcRn, FreeVars) Source #

rnBracket :: HsExpr GhcPs -> HsBracket GhcPs -> RnM (HsExpr GhcRn, FreeVars) Source #

traceSplice :: SpliceInfo -> TcM () Source #

outputs splice information for 2 flags which have different output formats: `-ddump-splices` and `-dth-dec-file`

data SpliceInfo Source #

The splice data to be logged

Constructors

SpliceInfo 

Fields