ghc-9.12.1: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Rename.Splice

Synopsis

Documentation

rnSplicePat :: HsUntypedSplice GhcPs -> RnM ((HsUntypedSplice GhcRn, HsUntypedSpliceResult (LPat GhcPs)), FreeVars) Source #

Rename a splice pattern. See Note [rnSplicePat]

rnSpliceTyPat :: HsUntypedSplice GhcPs -> RnM ((HsUntypedSplice GhcRn, HsUntypedSpliceResult (LHsType GhcPs)), FreeVars) Source #

Rename a splice type pattern. Much the same as rnSplicePat, but works with LHsType instead of LPat

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