fficxx-0.7.0.0: Automatic C++ binding generation
Safe HaskellSafe-Inferred
LanguageHaskell2010

FFICXX.Generate.Code.HsFrontEnd

Synopsis

Documentation

genHsFrontInstNew Source #

Arguments

:: Class

only concrete class

-> Reader AnnotateMap [Decl ()] 

genExportConstructorAndNonvirtual :: Class -> [ExportSpec ()] Source #

constructor and non-virtual function

genExportStatic :: Class -> [ExportSpec ()] Source #

staic function export list

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