Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module builds the actual, generated Haskell file for a given input .proto file.
Synopsis
- generateModule :: ModuleName -> [ModuleName] -> ModifyImports -> Env Name -> Env QName -> [ServiceInfo] -> [Module]
- type ModifyImports = ImportDecl () -> ImportDecl ()
- reexported :: ModifyImports
Documentation
:: ModuleName | |
-> [ModuleName] | The imported modules |
-> ModifyImports | |
-> Env Name | Definitions in this file |
-> Env QName | Definitions in the imported modules |
-> [ServiceInfo] | |
-> [Module] |
Generate a Haskell module for the given input file(s). input contains all defined names, incl. those in this module
type ModifyImports = ImportDecl () -> ImportDecl () Source #