fortran-src-0.2.0.0: Parser and anlyses for Fortran standards 66, 77, 90.

Safe HaskellNone
LanguageHaskell2010

Language.Fortran.PrettyPrint

Contents

Documentation

(<?>) :: Doc -> Doc -> Doc infixl 7 #

(<?+>) :: Doc -> Doc -> Doc infixl 7 #

overlay :: Doc -> Doc -> Doc #

class Pretty t where #

Minimal complete definition

pprint'

Methods

pprint' :: FortranVersion -> t -> Doc #

Instances

Pretty String # 
Pretty BinaryOp # 
Pretty UnaryOp # 
Pretty Intent # 
Pretty Only # 

Methods

pprint' :: FortranVersion -> Only -> Doc #

Pretty BaseType # 
Pretty a => Pretty (Maybe a) # 

Methods

pprint' :: FortranVersion -> Maybe a -> Doc #

Pretty (DimensionDeclarator a) # 
Pretty (Declarator a) # 
Pretty (Value a) # 

Methods

pprint' :: FortranVersion -> Value a -> Doc #

Pretty (Index a) # 

Methods

pprint' :: FortranVersion -> Index a -> Doc #

Pretty (Expression a) # 
Pretty (DoSpecification a) # 
Pretty (FormatItem a) # 
Pretty (DataGroup a) # 
Pretty (Namelist a) # 

Methods

pprint' :: FortranVersion -> Namelist a -> Doc #

Pretty (CommonGroup a) # 
Pretty (ImpElement a) # 
Pretty (ImpList a) # 

Methods

pprint' :: FortranVersion -> ImpList a -> Doc #

Pretty (ControlPair a) # 
Pretty (Attribute a) # 
Pretty (Argument a) # 

Methods

pprint' :: FortranVersion -> Argument a -> Doc #

Pretty (Use a) # 

Methods

pprint' :: FortranVersion -> Use a -> Doc #

Pretty (Statement a) # 
Pretty (Selector a) # 

Methods

pprint' :: FortranVersion -> Selector a -> Doc #

Pretty (TypeSpec a) # 

Methods

pprint' :: FortranVersion -> TypeSpec a -> Doc #

Pretty (e a) => Pretty (AList e a) # 

Methods

pprint' :: FortranVersion -> AList e a -> Doc #

commaSep :: [Doc] -> Doc #

Orphan instances