ghc-lib-9.10.1.20240511: The GHC API, decoupled from GHC versions
Safe HaskellIgnore
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