summaryrefslogtreecommitdiff
path: root/compiler/rename/RnSplice.hs-boot
blob: 7844acd2c9737b5d0186cedc63bd35a2849fb1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module RnSplice where

import GhcPrelude
import HsSyn
import TcRnMonad
import NameSet


rnSpliceType :: HsSplice GhcPs   -> RnM (HsType GhcRn, FreeVars)
rnSplicePat  :: HsSplice GhcPs   -> RnM ( Either (Pat GhcPs) (Pat GhcRn)
                                          , FreeVars )
rnSpliceDecl :: SpliceDecl GhcPs -> RnM (SpliceDecl GhcRn, FreeVars)

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