ghc-7.8.2: The GHC API

Safe Haskell | None
Language | Haskell98

DriverPhases

# Documentation

data HscSource

Constructors

HsSrcFile |
HsBootFile |
ExtCoreFile |

Instances

Eq HscSource |
Ord HscSource |
Show HscSource |

isHsBoot :: HscSource -> Bool

hscSourceString :: HscSource -> String

data Phase

Constructors

Unlit HscSource |
Cpp HscSource |
HsPp HscSource |
Hsc HscSource |
Ccpp |
Cc |
Cobjc |
Cobjcpp |
HCc |
Splitter |
SplitAs |
As |
LlvmOpt |
LlvmLlc |
LlvmMangle |
CmmCpp |
Cmm |
MergeStub |
StopLn |

Instances

Eq Phase |
Show Phase |
Outputable Phase |

happensBefore :: DynFlags -> Phase -> Phase -> Bool

eqPhase :: Phase -> Phase -> Bool

anyHsc :: Phase

isStopLn :: Phase -> Bool

startPhase :: String -> Phase

phaseInputExt :: Phase -> String

isHaskellishSuffix :: String -> Bool

isHaskellSrcSuffix :: String -> Bool

isObjectSuffix :: Platform -> String -> Bool

isCishSuffix :: String -> Bool

isExtCoreSuffix :: String -> Bool

isDynLibSuffix :: Platform -> String -> Bool

isHaskellUserSrcSuffix :: String -> Bool

isSourceSuffix :: String -> Bool

isHaskellishFilename :: FilePath -> Bool

isHaskellSrcFilename :: FilePath -> Bool

isObjectFilename :: Platform -> FilePath -> Bool

isCishFilename :: FilePath -> Bool

isExtCoreFilename :: FilePath -> Bool

isDynLibFilename :: Platform -> FilePath -> Bool

isHaskellUserSrcFilename :: FilePath -> Bool

isSourceFilename :: FilePath -> Bool