2013-08-26 16:28:21 +00:00
|
|
|
-- | Low level access to the ghc-mod library.
|
|
|
|
|
|
|
|
module Language.Haskell.GhcMod.Internal (
|
2013-09-16 00:56:08 +00:00
|
|
|
-- * Types
|
2013-08-26 16:28:21 +00:00
|
|
|
LogReader
|
|
|
|
, GHCOption
|
2013-09-16 00:56:08 +00:00
|
|
|
, Package
|
|
|
|
, IncludeDir
|
2013-09-19 06:58:50 +00:00
|
|
|
, CompilerOptions(..)
|
2013-09-16 00:56:08 +00:00
|
|
|
-- * Cabal API
|
|
|
|
, parseCabalFile
|
2013-09-20 01:30:51 +00:00
|
|
|
, getCompilerOptions
|
2013-09-16 00:56:08 +00:00
|
|
|
, cabalAllBuildInfo
|
|
|
|
, cabalDependPackages
|
|
|
|
, cabalSourceDirs
|
2013-09-20 08:25:28 +00:00
|
|
|
, cabalAllTargets
|
2014-03-26 03:09:02 +00:00
|
|
|
-- * IO
|
|
|
|
, getSystemLibDir
|
2013-09-16 00:56:08 +00:00
|
|
|
, getDynamicFlags
|
|
|
|
-- * Initializing 'DynFlags'
|
2013-08-26 16:28:21 +00:00
|
|
|
, initializeFlagsWithCradle
|
2014-03-26 03:09:02 +00:00
|
|
|
-- * 'Ghc' Monad
|
2013-08-21 08:21:49 +00:00
|
|
|
, setTargetFiles
|
2014-03-19 01:23:32 +00:00
|
|
|
, addTargetFiles
|
|
|
|
, handleErrMsg
|
2014-03-26 03:09:02 +00:00
|
|
|
, browseAll
|
2013-09-16 00:56:08 +00:00
|
|
|
-- * 'Ghc' Choice
|
|
|
|
, (||>)
|
|
|
|
, goNext
|
|
|
|
, runAnyOne
|
|
|
|
-- * 'GhcMonad' Choice
|
|
|
|
, (|||>)
|
2014-04-18 08:28:12 +00:00
|
|
|
-- * Misc
|
|
|
|
, convert
|
2013-08-26 16:28:21 +00:00
|
|
|
) where
|
|
|
|
|
2014-03-25 02:14:16 +00:00
|
|
|
import Language.Haskell.GhcMod.Browse
|
2013-09-16 00:56:08 +00:00
|
|
|
import Language.Haskell.GhcMod.CabalApi
|
2013-08-26 16:28:21 +00:00
|
|
|
import Language.Haskell.GhcMod.ErrMsg
|
|
|
|
import Language.Haskell.GhcMod.GHCApi
|
2013-09-16 00:56:08 +00:00
|
|
|
import Language.Haskell.GhcMod.GHCChoice
|
2013-08-26 16:28:21 +00:00
|
|
|
import Language.Haskell.GhcMod.Types
|