hint-0.3.3.2: src/Hint/GHC.hs
module Hint.GHC (
module GHC,
module Outputable,
module ErrUtils,
module Pretty,
module DriverPhases,
module StringBuffer,
module Lexer,
module Parser,
module DynFlags,
module FastString,
#if __GLASGOW_HASKELL__ >= 610
module Control.Monad.Ghc,
module HscTypes,
module Bag,
#endif
#if __GLASGOW_HASKELL__ >= 608
module PprTyThing,
#elif __GLASGOW_HASKELL__ < 608
module SrcLoc,
#endif
)
where
#if __GLASGOW_HASKELL__ >= 610
import GHC hiding ( Phase, GhcT, runGhcT )
import Control.Monad.Ghc ( GhcT, runGhcT )
import HscTypes ( SourceError, srcErrorMessages, GhcApiError )
import Bag ( bagToList )
#else
import GHC hiding ( Phase )
#endif
import Outputable ( PprStyle, ppr,
showSDoc, showSDocForUser, showSDocUnqual,
withPprStyle, defaultErrStyle )
import ErrUtils ( Message, mkLocMessage )
import Pretty ( Doc )
import DriverPhases ( Phase(Cpp), HscSource(HsSrcFile) )
import StringBuffer ( stringToStringBuffer )
import Lexer ( P(..), ParseResult(..), mkPState )
import Parser ( parseStmt, parseType )
import FastString ( fsLit )
#if __GLASGOW_HASKELL__ >= 700
import DynFlags ( xFlags, xopt )
#else
import DynFlags ( supportedLanguages )
#endif
#if __GLASGOW_HASKELL__ >= 608
import PprTyThing ( pprTypeForUser )
#elif __GLASGOW_HASKELL__ < 608
import SrcLoc ( SrcSpan, noSrcLoc )
#endif