Skip to main content

Module codegen

Module codegen 

Source
Expand description

Rust code generator from parsed RNC schemas.

Structs§

CodegenConfig
Code generation configuration.
FeatureMappings
Complete feature mappings file structure.
ModuleMappings
Name mappings for a single module (sml, wml, pml, dml).
NameMappings
Complete name mappings file structure.

Functions§

generate
Generate Rust code from a parsed schema.

Type Aliases§

ElementFeatures
Feature tags for a single element’s attributes/children. Maps attribute/child name -> list of feature tags.
ModuleFeatures
Feature mappings for a single module. Maps element name (Rust name like “Row”) -> attribute/child features.