Expand description
Implementation of the Protocol Buffer compiler.
This module contains code for parsing .proto files and generating code based on them. It is particularly useful when you need to deal with arbitrary Protobuf messages at runtime.
Structs§
- Disk
Source Tree - An implementation of
SourceTreewhich loads files from locations on disk. - File
Load Error - An error occured while loading a file.
- File
Open Error - An error occurred while opening a file.
- Location
- Describes the location at which a
FileLoadErroroccurred. - Simple
Error Collector - A simple implementation of
MultiFileErrorCollectorthat records errors in memory for later retrieval. - Source
Tree Descriptor Database - An implementation of
DescriptorDatabasewhich loads files from aSourceTreeand parses them. - Virtual
Source Tree - An implementation of
SourceTreewhich stores files in memory.
Enums§
- Severity
- Describes the severity of a
FileLoadError.
Traits§
- Multi
File Error Collector - If the importer encounters problems while trying to import the proto files,
it reports them to a
MultiFileErrorCollector. - Source
Tree - Abstract interface which represents a directory tree containing .proto files.