Copyright | (c) 2011-2018 Ian-Woo Kim |
---|---|
License | BSD3 |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
Synopsis
- genHsFrontDecl :: 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 ()]
- genTopLevelFuncDef :: TopLevelFunction -> [Decl ()]
- genExport :: Class -> [ExportSpec ()]
- genExportConstructorAndNonvirtual :: Class -> [ExportSpec ()]
- genExportStatic :: Class -> [ExportSpec ()]
- genExtraImport :: ClassModule -> [ImportDecl ()]
- genImportInModule :: [Class] -> [ImportDecl ()]
- genImportInInterface :: ClassModule -> [ImportDecl ()]
- genImportInCast :: ClassModule -> [ImportDecl ()]
- genImportInImplementation :: ClassModule -> [ImportDecl ()]
- genImportForTopLevelFunction :: TopLevelFunction -> [ImportDecl ()]
- genImportInTopLevel :: String -> ([ClassModule], [TemplateClassModule]) -> TopLevelImportHeader -> [ImportDecl ()]
Documentation
genHsFrontDecl :: 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 #
genTopLevelFuncDef :: TopLevelFunction -> [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 #
genImportInInterface :: ClassModule -> [ImportDecl ()] Source #
genImportInCast :: ClassModule -> [ImportDecl ()] Source #
genImportInImplementation :: ClassModule -> [ImportDecl ()] Source #
genImportForTopLevelFunction :: TopLevelFunction -> [ImportDecl ()] Source #
generate import list for a given top-level function currently this may generate duplicate import list. TODO: eliminate duplicated imports.
genImportInTopLevel :: String -> ([ClassModule], [TemplateClassModule]) -> TopLevelImportHeader -> [ImportDecl ()] Source #
generate import list for top level module