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
SourceTree
which 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
FileLoadError
occurred. - Simple
Error Collector - A simple implementation of
MultiFileErrorCollector
that records errors in memory for later retrieval. - Source
Tree Descriptor Database - An implementation of
DescriptorDatabase
which loads files from aSourceTree
and parses them. - Virtual
Source Tree - An implementation of
SourceTree
which 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.