Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- class OutputFiles t where
- mkOutputText :: FileOrDir -> t -> SourceText
- outputFile :: t -> Filename
- isNewFile :: t -> Bool
- outputFiles :: FileOrDir -> FileOrDir -> [t] -> IO ()
- class Show' s where
- refactoring :: Typeable a => FortranVersion -> a -> SourceText -> StateT Position Identity (SourceText, Bool)
Classes
class OutputFiles t where Source #
mkOutputText :: FileOrDir -> t -> SourceText Source #
Given a directory and list of triples of filenames, with their source text (if it exists) and their AST, write these to the directory
outputFile :: t -> Filename Source #
isNewFile :: t -> Bool Source #
outputFiles :: FileOrDir -> FileOrDir -> [t] -> IO () Source #
Instances
OutputFiles (ProgramFile Annotation, SourceText) Source # | |
Defined in Camfort.Output mkOutputText :: FileOrDir -> (ProgramFile Annotation, SourceText) -> SourceText Source # outputFile :: (ProgramFile Annotation, SourceText) -> Filename Source # isNewFile :: (ProgramFile Annotation, SourceText) -> Bool Source # outputFiles :: FileOrDir -> FileOrDir -> [(ProgramFile Annotation, SourceText)] -> IO () Source # | |
OutputFiles (Filename, SourceText) Source # | |
Defined in Camfort.Output mkOutputText :: FileOrDir -> (Filename, SourceText) -> SourceText Source # outputFile :: (Filename, SourceText) -> Filename Source # isNewFile :: (Filename, SourceText) -> Bool Source # outputFiles :: FileOrDir -> FileOrDir -> [(Filename, SourceText)] -> IO () Source # |
Refactoring
refactoring :: Typeable a => FortranVersion -> a -> SourceText -> StateT Position Identity (SourceText, Bool) Source #