Safe Haskell | None |
---|---|
Language | Haskell2010 |
Text.ProtocolBuffers.ProtoCompile.Parser
Description
This Parser module takes a filename and its contents as a bytestring, and uses Lexer.hs to make a stream of tokens that it parses. No IO is performed and the error function is not used. Since the Lexer should also avoid such errors this should be a reliably total function of the input.
The internals have been updated to handle Google's protobuf version 2.0.3 formats, including EnumValueOptions.