camfort-1.1.2: CamFort - Cambridge Fortran infrastructure
Safe HaskellNone
LanguageHaskell2010

Camfort.Output

Synopsis

Classes

class OutputFiles t where Source #

Minimal complete definition

mkOutputText, outputFile, isNewFile

Methods

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 #

class Show' s where Source #

Methods

show' :: s -> String Source #

Instances

Instances details
Show a => Show' a Source # 
Instance details

Defined in Camfort.Output

Methods

show' :: a -> String Source #

Show' String Source # 
Instance details

Defined in Camfort.Output

Methods

show' :: String -> String Source #

(Show' a, Show' b) => Show' (a, b) Source # 
Instance details

Defined in Camfort.Output

Methods

show' :: (a, b) -> String Source #

Refactoring

refactoring :: Typeable a => FortranVersion -> a -> SourceText -> StateT Position Identity (SourceText, Bool) Source #