Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type A1 = Analysis Annotation Source #
commonElimToModules :: Directory -> [(Filename, ProgramFile A)] -> (Report, [(Filename, ProgramFile A)], [(Filename, ProgramFile A)]) Source #
analyseAndRmCommons :: [(Filename, ProgramFile A)] -> CommonState [(Filename, ProgramFile A)] Source #
analysePerPF :: (Filename, ProgramFile A) -> CommonState (Filename, ProgramFile A) Source #
analysePerPU :: TypeEnv -> Filename -> ProgramUnit A1 -> CommonState (ProgramUnit A1) Source #
collectAndRmCommons :: TypeEnv -> Filename -> ProgramUnitName -> Block A1 -> CommonState (Block A1) Source #
commonNameFromAST :: Maybe (Expression t) -> Maybe Name Source #
freshenCommonNames :: TLCommon A -> (TLCommon A, RenamerCoercer) Source #
mkTLCommonRenamers :: [TLCommon A] -> [(TLCommon A, RenamerCoercer)] Source #
updateUseDecls :: [(Filename, ProgramFile A)] -> [TLCommon A] -> [(Filename, ProgramFile A)] Source #
addToProgramUnit :: FortranVersion -> ProgramUnit A -> [Statement A] -> ProgramUnit A Source #
renamerToUse :: RenamerCoercer -> [(Name, Name)] Source #
mkUseStatementBlocks :: SrcSpan -> [(TCommon A, RenamerCoercer)] -> [Block A] Source #
mkRenamerCoercerTLC :: (TLCommon A :? source) -> (TLCommon A :? target) -> RenamerCoercer Source #
mkRenamerCoercer :: (TCommon A :? source) -> (TCommon A :? target) -> RenamerCoercer Source #