Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getcabal :: Either TemplateClass Class -> Cabal
- getparents :: Either b Class -> [Either a Class]
- getFFIName :: Either TemplateClass Class -> String
- getPkgName :: Either TemplateClass Class -> CabalName
- extractClassFromType :: Types -> [Either TemplateClass Class]
- classFromArg :: Arg -> [Either TemplateClass Class]
- class_allparents :: Class -> [Class]
- getClassModuleBase :: Class -> String
- getTClassModuleBase :: TemplateClass -> String
- mkDaughterMap :: [Class] -> DaughterMap
- mkDaughterSelfMap :: [Class] -> DaughterMap
- data Dep4Func = Dep4Func {}
- extractClassDep :: Function -> Dep4Func
- extractClassDepForTmplFun :: TemplateFunction -> Dep4Func
- extractClassDep4TmplMemberFun :: TemplateMemberFunction -> Dep4Func
- extractClassDepForTopLevel :: TopLevel -> Dep4Func
- mkModuleDepRaw :: Either TemplateClass Class -> [Either TemplateClass Class]
- isNotInSamePackageWith :: Either TemplateClass Class -> Either TemplateClass Class -> Bool
- isInSamePackageButNotInheritedBy :: Either TemplateClass Class -> Either TemplateClass Class -> Bool
- mkModuleDepHighNonSource :: Either TemplateClass Class -> [Either TemplateClass Class]
- mkModuleDepHighSource :: Either TemplateClass Class -> [Either TemplateClass Class]
- mkModuleDepCpp :: Either TemplateClass Class -> [Either TemplateClass Class]
- mkModuleDepFFI1 :: Either TemplateClass Class -> [Either TemplateClass Class]
- mkModuleDepFFI :: Either TemplateClass Class -> [Either TemplateClass Class]
- mkClassModule :: (ModuleUnit -> ModuleUnitImports) -> [(String, [String])] -> Class -> ClassModule
- findModuleUnitImports :: ModuleUnitMap -> ModuleUnit -> ModuleUnitImports
- mkTCM :: TemplateClassImportHeader -> TemplateClassModule
- mkPackageConfig :: (CabalName, ModuleUnit -> ModuleUnitImports) -> ([Class], [TopLevel], [TemplateClassImportHeader], [(String, [String])]) -> [AddCInc] -> [AddCSrc] -> PackageConfig
- mkHSBOOTCandidateList :: [ClassModule] -> [String]
- mkPkgHeaderFileName :: Class -> HeaderName
- mkPkgCppFileName :: Class -> String
- mkPkgIncludeHeadersInH :: Class -> [HeaderName]
- mkPkgIncludeHeadersInCPP :: Class -> [HeaderName]
- mkCIH :: (ModuleUnit -> ModuleUnitImports) -> Class -> ClassImportHeader
- mkTIH :: CabalName -> (ModuleUnit -> ModuleUnitImports) -> [ClassImportHeader] -> [TopLevel] -> TopLevelImportHeader
Documentation
getFFIName :: Either TemplateClass Class -> String Source #
extractClassFromType :: Types -> [Either TemplateClass Class] Source #
classFromArg :: Arg -> [Either TemplateClass Class] Source #
class_allparents :: Class -> [Class] Source #
getClassModuleBase :: Class -> String Source #
mkDaughterMap :: [Class] -> DaughterMap Source #
Daughter map not including itself
mkDaughterSelfMap :: [Class] -> DaughterMap Source #
Daughter Map including itself as a daughter
class dependency for a given function
extractClassDep :: Function -> Dep4Func Source #
isInSamePackageButNotInheritedBy Source #
:: Either TemplateClass Class | y |
-> Either TemplateClass Class | x |
-> Bool |
mkClassModule :: (ModuleUnit -> ModuleUnitImports) -> [(String, [String])] -> Class -> ClassModule Source #
:: (CabalName, ModuleUnit -> ModuleUnitImports) | (package name,getImports) |
-> ([Class], [TopLevel], [TemplateClassImportHeader], [(String, [String])]) | |
-> [AddCInc] | |
-> [AddCSrc] | |
-> PackageConfig |
mkHSBOOTCandidateList :: [ClassModule] -> [String] Source #
mkPkgCppFileName :: Class -> String Source #
mkPkgIncludeHeadersInH :: Class -> [HeaderName] Source #
mkPkgIncludeHeadersInCPP :: Class -> [HeaderName] Source #
:: (ModuleUnit -> ModuleUnitImports) | (mk namespace and include headers) |
-> Class | |
-> ClassImportHeader |
mkTIH :: CabalName -> (ModuleUnit -> ModuleUnitImports) -> [ClassImportHeader] -> [TopLevel] -> TopLevelImportHeader Source #
for top-level