Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- transform :: Data a => [Transformation] -> ProgramFile a -> ProgramFile a
- transformWithModFiles :: Data a => ModFiles -> [Transformation] -> ProgramFile a -> ProgramFile a
- data Transformation
- defaultTransformations :: FortranVersion -> [Transformation]
Documentation
transform :: Data a => [Transformation] -> ProgramFile a -> ProgramFile a Source #
transformWithModFiles :: Data a => ModFiles -> [Transformation] -> ProgramFile a -> ProgramFile a Source #
data Transformation Source #
Instances
Eq Transformation Source # | |
Defined in Language.Fortran.Transformer (==) :: Transformation -> Transformation -> Bool # (/=) :: Transformation -> Transformation -> Bool # |
defaultTransformations :: FortranVersion -> [Transformation] Source #
The default post-parse AST transformations for each Fortran version.
Note that some of these may not be commutative with each other. Specifically, the DO groupings are written so labeled (nonblock) DO grouping must occur first, followed by block DO grouping.