API Reference pbuf v0.1.16

Modules

Entry point into the generator. Receives the request descriptor from stdin, and returns a response descriptor to stdout. The pupose is to generate the .pb.ex files from .proto files.

Context holds information necessary for building types. The initial context contains file-wide information (the package name, enums). This file-wide context is used as the basis for message-specific contexts which include things which are only valid for that message (like enums defined within the message)

Context holds information necessary for building types. The initial context contains file-wide information (the package name, enums). This file-wide context is used as the basis for message-specific contexts which include things which are only valid for that message (like enums defined within the message)

This is the 'parent' of OneOfs. It acts as both configuration via the context and as a pseudo Field when rendering the template.