macro_tools/
typed.rs

1//!
2//! Typed parsing.
3//!
4
5/// Define a private namespace for all its items.
6mod private 
7{
8  // use crate :: *;
9}
10
11#[ doc( inline ) ]
12#[ allow( unused_imports ) ]
13pub use own :: *;
14
15/// Own namespace of the module.
16#[ allow( unused_imports ) ]
17pub mod own 
18{
19
20  use super :: *;
21
22  #[ doc( inline ) ]
23  pub use orphan :: *;
24
25  #[ doc( inline ) ]
26  pub use private :: { };
27
28  pub use syn :: { parse_quote, parse_quote as qt };
29}
30
31/// Orphan namespace of the module.
32#[ allow( unused_imports ) ]
33pub mod orphan 
34{
35
36  use super :: *;
37  #[ doc( inline ) ]
38  pub use exposed :: *;
39}
40
41/// Exposed namespace of the module.
42#[ allow( unused_imports ) ]
43pub mod exposed 
44{
45
46  use super :: *;
47  pub use super ::super ::typed;
48
49  // pub use super ::own as typ;
50
51  #[ doc( inline ) ]
52  pub use prelude :: *;
53}
54
55/// Prelude to use essentials: `use my_module ::prelude :: *`.
56#[ allow( unused_imports ) ]
57pub mod prelude 
58{
59  use super :: *;
60}