Current section
Files
Jump to
Current section
Files
lib/protobuf/protoc/context.ex
defmodule Protobuf.Protoc.Context do
defstruct [
# For all files
# Plugins passed by options
plugins: [],
# Mapping from file name to package name
pkg_mapping: %{},
# For a file
# Package name
package: nil,
# Package names a file dependents on, sorting by length of names decreasingly
dep_pkgs: [],
syntax: nil,
# For a message
# Nested namespace when generating nested messages. It should be joined to get the full namespace
namespace: []
]
end