diff --git a/src/lib.rs b/src/lib.rs index 3c050d7..49b6578 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,9 +6,16 @@ //! [`types`], filling missing parameters. See [`converter`]. //! 2. Generate [`proc_macro2::TokenStream`] from register map produced in the previous step. See //! [`generator`]. +//! +//! # modules +//! - [`types`]: type definitions of internal register map representation +//! - [`type_traits`]: supplemental traits for types in [`types`] +//! - [`parser`]: supplemental parser (string to custom types) +//! - [`converter`]: DOM to internal representation +//! - [`generator`]: internal representation to rust code -pub mod types; -pub mod type_traits; -pub mod parser; pub mod converter; pub mod generator; +pub mod parser; +pub mod type_traits; +pub mod types; diff --git a/src/parser.rs b/src/parser.rs index 4924fd7..87e86f9 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1,5 +1,5 @@ //! Module for converting XML custom token string to rust types. -//! +//! //! Unlike, [`crate::converter`], this only has string "parser". use std::any;