ghc-dump-tree-0.2.0.2: Dump GHC's parsed, renamed, and type checked ASTs

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.GHC.DumpTree

Contents

Synopsis

Documentation

treesForTargetsIO :: [FilePath] -> IO [Trees] Source #

Generate trees for given files, starting a GHC session "ghc" needs to be in the PATH

treesForTargets :: GhcMonad m => [FilePath] -> m [Trees] Source #

Generate trees for given files, when already in GHC

treesForSession :: GhcMonad m => m [Trees] Source #

Generate trees for modules in session

treeDumpFlags :: DynFlags -> DynFlags Source #

Get dyn flags: Don't compile anything

dumpJson :: [Trees] -> IO () Source #

treesToDoc :: Trees -> Doc Source #

Convert Trees to Doc

dumpText :: [Trees] -> IO () Source #

Orphan instances