haskell-tools-backend-ghc-1.1.1.0: Creating the Haskell-Tools AST from GHC's representations

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.BackendGHC.TH

Description

Functions that convert the Template-Haskell-related elements of the GHC AST to corresponding elements in the Haskell-tools AST representation

Synopsis

Documentation

trfSpliceExpr :: forall n r p. (TransformName n r, n ~ GhcPass p) => Located (HsExpr n) -> Trf (USplice (Dom r) RangeStage) Source #

TODO: easier with splice decoration

trfBracket' :: forall n r p. (TransformName n r, n ~ GhcPass p) => HsBracket n -> Trf (UBracket (Dom r) RangeStage) Source #