Safe Haskell | None |
---|---|
Language | Haskell98 |
- class Default t where
- getOption :: forall t opt. (Data opt, Data t, Default opt) => [t] -> opt
- doAnalysis :: (Program A -> Program Annotation) -> FileOrDir -> [Filename] -> IO ()
- doAnalysisSummary :: (Monoid s, Show s) => (Program A -> s) -> FileOrDir -> [Filename] -> IO ()
- doAnalysisReport :: ([(Filename, Program A)] -> (String, t1)) -> FileOrDir -> [Filename] -> t -> IO ()
- doAnalysisReport' :: ([(Filename, Program A)] -> (String, t1)) -> FileOrDir -> [Filename] -> t -> IO ()
- doRefactor :: ([(Filename, Program A)] -> (String, [(Filename, Program Annotation)])) -> FileOrDir -> [Filename] -> FileOrDir -> IO ()
- readParseSrcDir :: FileOrDir -> [Filename] -> IO [(Filename, String, Program A)]
- rGetDirContents :: FileOrDir -> IO [String]
- isFortran :: [Char] -> Bool
- readParseSrcFile :: Filename -> IO (Filename, String, Program A)
- parse :: Filename -> IO (Program ())
- fileExt :: [Char] -> [Char]
Documentation
Builders for analysers and refactorings
doAnalysis :: (Program A -> Program Annotation) -> FileOrDir -> [Filename] -> IO () Source #
Performs an analysis provided by its first parameter on the directory of its second, excluding files listed by its third
doAnalysisSummary :: (Monoid s, Show s) => (Program A -> s) -> FileOrDir -> [Filename] -> IO () Source #
Performs an analysis provided by its first parameter which generates
information s
, which is then combined together (via a monoid)
doAnalysisReport :: ([(Filename, Program A)] -> (String, t1)) -> FileOrDir -> [Filename] -> t -> IO () Source #
Performs an analysis which reports to the user, but does not output any files
doAnalysisReport' :: ([(Filename, Program A)] -> (String, t1)) -> FileOrDir -> [Filename] -> t -> IO () Source #
doRefactor :: ([(Filename, Program A)] -> (String, [(Filename, Program Annotation)])) -> FileOrDir -> [Filename] -> FileOrDir -> IO () Source #
Performs a refactoring provided by its first parameter, on the directory of the second, excluding files listed by third, output to the directory specified by the fourth parameter
Source directory and file handling
readParseSrcDir :: FileOrDir -> [Filename] -> IO [(Filename, String, Program A)] Source #
Read files from a direcotry, excluding those listed by the second parameter