proto-lens-protoc-0.2.0.0: Protocol buffer compiler for the proto-lens library.

Safe HaskellNone
LanguageHaskell2010

Data.ProtoLens.Compiler.Generate

Description

This module builds the actual, generated Haskell file for a given input .proto file.

Synopsis

Documentation

generateModule Source #

Arguments

:: 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