| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Fortran.PrettyPrint
Contents
Documentation
tooOld :: FortranVersion -> String -> FortranVersion -> a Source #
type Indentation = Maybe Int Source #
pprintAndRender :: IndentablePretty t => FortranVersion -> t -> Indentation -> String Source #
class IndentablePretty t where Source #
Minimal complete definition
Methods
pprint :: FortranVersion -> t -> Indentation -> Doc Source #
Instances
| Pretty a => IndentablePretty a Source # | |
| IndentablePretty [Block a] Source # | |
| IndentablePretty [ProgramUnit a] Source # | |
| IndentablePretty a => IndentablePretty (Maybe a) Source # | |
| IndentablePretty (Block a) Source # | |
| IndentablePretty (ProgramUnit a) Source # | |
| IndentablePretty (ProgramFile a) Source # | |
endGen :: Pretty a => FortranVersion -> Doc -> a -> Indentation -> Doc Source #
Minimal complete definition
Methods
pprint' :: FortranVersion -> t -> Doc Source #
Instances
| Pretty String Source # | |
| Pretty BinaryOp Source # | |
| Pretty UnaryOp Source # | |
| Pretty Intent Source # | |
| Pretty Only Source # | |
| Pretty BaseType Source # | |
| Pretty a => Pretty (Maybe a) Source # | |
| Pretty (DimensionDeclarator a) Source # | |
| Pretty (Declarator a) Source # | |
| Pretty (Value a) Source # | |
| Pretty (Index a) Source # | |
| Pretty (Expression a) Source # | |
| Pretty (DoSpecification a) Source # | |
| Pretty (FormatItem a) Source # | |
| Pretty (DataGroup a) Source # | |
| Pretty (Namelist a) Source # | |
| Pretty (CommonGroup a) Source # | |
| Pretty (ImpElement a) Source # | |
| Pretty (ImpList a) Source # | |
| Pretty (ControlPair a) Source # | |
| Pretty (Attribute a) Source # | |
| Pretty (Argument a) Source # | |
| Pretty (Use a) Source # | |
| Pretty (Statement a) Source # | |
| Pretty (Selector a) Source # | |
| Pretty (TypeSpec a) Source # | |
| Pretty (e a) => Pretty (AList e a) Source # | |
Orphan instances
| FirstParameter (Value a) String Source # | |