Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type ProtoFileName = Text
- data ProtoFile = ProtoFile {}
- analyzeProtoFiles :: Text -> [FileDescriptorProto] -> Map ProtoFileName ProtoFile
- collectEnvFromDeps :: [ProtoFileName] -> Map ProtoFileName ProtoFile -> Env QName
- outputFilePath :: String -> Text
- moduleName :: Text -> FileDescriptorProto -> ModuleName
- moduleNameStr :: Text -> FileDescriptorProto -> String
Documentation
type ProtoFileName = Text Source #
The filename of an input .proto file.
ProtoFile | |
|
analyzeProtoFiles :: Text -> [FileDescriptorProto] -> Map ProtoFileName ProtoFile Source #
collectEnvFromDeps :: [ProtoFileName] -> Map ProtoFileName ProtoFile -> Env QName Source #
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.