2021-02-26 22:55:08 +00:00
|
|
|
// edition:2018
|
|
|
|
|
2022-08-17 12:55:09 +02:00
|
|
|
// @set inner_id = "$.index[*][?(@.name=='inner')].id"
|
2021-02-26 22:55:08 +00:00
|
|
|
pub mod inner {
|
|
|
|
|
2022-08-17 12:55:09 +02:00
|
|
|
// @set public_id = "$.index[*][?(@.name=='Public')].id"
|
2023-05-22 18:17:52 +01:00
|
|
|
// @ismany "$.index[*][?(@.name=='inner')].inner.module.items[*]" $public_id
|
2021-02-26 22:55:08 +00:00
|
|
|
pub struct Public;
|
|
|
|
}
|
|
|
|
|
2023-05-22 18:17:52 +01:00
|
|
|
// @set import_id = "$.index[*][?(@.docs=='Outer')].id"
|
|
|
|
// @is "$.index[*][?(@.docs=='Outer')].inner.import.source" \"inner::Public\"
|
|
|
|
/// Outer
|
2021-02-26 22:55:08 +00:00
|
|
|
pub use inner::Public;
|
2022-07-19 16:57:38 +01:00
|
|
|
|
2023-05-22 18:17:52 +01:00
|
|
|
// @ismany "$.index[*][?(@.name=='simple_public')].inner.module.items[*]" $import_id $inner_id
|