Skip to main content

xsd_parser/models/
mod.rs

1//! Data model definitions used throughout the transformation pipeline.
2//!
3//! This module contains structured representations of intermediate and final
4//! data forms used in parsing, interpretation, code generation, and rendering.
5//! It serves as the central type layer for schema handling and Rust code generation.
6
7pub mod code;
8pub mod data;
9pub mod meta;
10pub mod schema;
11
12mod ident;
13mod ident_cache;
14mod name;
15mod naming;
16
17/// Convenient type to not break the public interface.
18///
19/// The `Ident` was renamed to [`TypeIdent`].
20#[deprecated(note = "Use TypeIdent instead")]
21pub type Ident = TypeIdent;
22
23pub use self::ident::{
24    AttributeIdent, ElementIdent, EnumerationIdent, IdentType, PropertyIdent, TypeIdent,
25    TypeIdentType,
26};
27pub use self::ident_cache::IdentCache;
28pub use self::name::Name;
29pub use self::naming::{
30    format_ident, format_unknown_variant, unify_string, ExplicitNameBuilder, ExplicitNaming,
31    NameBuilder, Naming,
32};