Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- genHsFrontDecl :: Bool -> Class -> Reader AnnotateMap (Decl ())
- genHsFrontInst :: Class -> Class -> [Decl ()]
- genHsFrontInstNew :: Class -> Reader AnnotateMap [Decl ()]
- genHsFrontInstNonVirtual :: Class -> [Decl ()]
- genHsFrontInstStatic :: Class -> [Decl ()]
- genHsFrontInstVariables :: Class -> [Decl ()]
- hsClassRawType :: Class -> [Decl ()]
- genHsFrontUpcastClass :: Class -> [Decl ()]
- genHsFrontDowncastClass :: Class -> [Decl ()]
- genTopLevelDef :: TLOrdinary -> [Decl ()]
- genExport :: Class -> [ExportSpec ()]
- genExportConstructorAndNonvirtual :: Class -> [ExportSpec ()]
- genExportStatic :: Class -> [ExportSpec ()]
- genExtraImport :: ClassModule -> [ImportDecl ()]
- genImportInModule :: Class -> [ImportDecl ()]
- mkImportWithDepCycles :: DepCycles -> String -> String -> ImportDecl ()
- genImportInInterface :: Bool -> DepCycles -> ClassModule -> [ImportDecl ()]
- genImportInCast :: ClassModule -> [ImportDecl ()]
- genImportInImplementation :: ClassModule -> [ImportDecl ()]
- genImportForTLOrdinary :: TLOrdinary -> [ImportDecl ()]
- genImportForTLTemplate :: TLTemplate -> [ImportDecl ()]
- genImportInTopLevel :: String -> ([ClassModule], [TemplateClassModule]) -> [ImportDecl ()]
Documentation
genHsFrontDecl :: Bool -> Class -> Reader AnnotateMap (Decl ()) Source #
:: Class | only concrete class |
-> Reader AnnotateMap [Decl ()] |
genHsFrontInstNonVirtual :: Class -> [Decl ()] Source #
genHsFrontInstStatic :: Class -> [Decl ()] Source #
genHsFrontInstVariables :: Class -> [Decl ()] Source #
hsClassRawType :: Class -> [Decl ()] Source #
genHsFrontUpcastClass :: Class -> [Decl ()] Source #
genHsFrontDowncastClass :: Class -> [Decl ()] Source #
genTopLevelDef :: TLOrdinary -> [Decl ()] Source #
genExport :: Class -> [ExportSpec ()] Source #
genExportConstructorAndNonvirtual :: Class -> [ExportSpec ()] Source #
constructor and non-virtual function
genExportStatic :: Class -> [ExportSpec ()] Source #
staic function export list
genExtraImport :: ClassModule -> [ImportDecl ()] Source #
genImportInModule :: Class -> [ImportDecl ()] Source #
mkImportWithDepCycles :: DepCycles -> String -> String -> ImportDecl () Source #
genImportInInterface :: Bool -> DepCycles -> ClassModule -> [ImportDecl ()] Source #
genImportInCast :: ClassModule -> [ImportDecl ()] Source #
genImportInImplementation :: ClassModule -> [ImportDecl ()] Source #
genImportForTLOrdinary :: TLOrdinary -> [ImportDecl ()] Source #
generate import list for a given top-level ordinary function currently this may generate duplicate import list. TODO: eliminate duplicated imports. TODO2: should be refactored out.
genImportForTLTemplate :: TLTemplate -> [ImportDecl ()] Source #
generate import list for a given top-level template function currently this may generate duplicate import list. TODO: eliminate duplicated imports. TODO2: should be refactored out.
genImportInTopLevel :: String -> ([ClassModule], [TemplateClassModule]) -> [ImportDecl ()] Source #
generate import list for top level module