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

Safe HaskellNone
LanguageHaskell2010

Data.ProtoLens.Compiler.Plugin

Synopsis

Documentation

type ProtoFileName = Text Source #

The filename of an input .proto file.

data ProtoFile Source #

Constructors

ProtoFile 

Fields

outputFilePath :: String -> Text Source #

Get the output file path (for CodeGeneratorResponse.File) for a Haskell ModuleName.

moduleName :: Text -> FileDescriptorProto -> ModuleName Source #

Get the Haskell ModuleName corresponding to a given .proto file.

moduleNameStr :: Text -> FileDescriptorProto -> String Source #

Get the Haskell module name corresponding to a given .proto file.