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