Pbuf.Protoc.Enumeration (pbuf v0.1.16)

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)

Link to this section Summary

Link to this section Types

Specs

t() :: %Pbuf.Protoc.Enumeration{
  default: atom(),
  full_name: String.t(),
  name: String.t(),
  typespec: String.t(),
  values: %{optional(atom()) => non_neg_integer()}
}

Link to this section Functions

Link to this function

new(desc, namespace)

Specs