Expand description
Protobuf parser for importing .proto files into data models.
This module provides a complete implementation for parsing proto3 syntax, including:
- Message definitions and nested messages
- Field parsing with proper type mapping
- Support for repeated fields (arrays)
- Optional field handling
- Nested message expansion with dot notation
§Validation
All imported table and column names are validated for:
- Valid identifier format
- Maximum length limits
§Note
This is a complete implementation for proto3 syntax parsing. For build-time code generation
from .proto files, consider using prost-build in a build script. This parser is designed
for runtime parsing of .proto file content.
Structs§
- Parser
Error - Parser error structure (matches ODCL parser format).
- Protobuf
Importer - Parser for Protobuf format.