2021-02-26 16:55:08 -06:00
|
|
|
//@ edition:2018
|
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ !has "$.index[*][?(@.name=='inner')]"
|
2021-02-26 16:55:08 -06:00
|
|
|
mod inner {
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ set pub_id = "$.index[*][?(@.name=='Public')].id"
|
2021-02-26 16:55:08 -06:00
|
|
|
pub struct Public;
|
|
|
|
}
|
|
|
|
|
2024-08-04 18:44:35 -05:00
|
|
|
//@ is "$.index[*][?(@.inner.use)].inner.use.name" \"Public\"
|
|
|
|
//@ is "$.index[*][?(@.inner.use)].inner.use.id" $pub_id
|
|
|
|
//@ set use_id = "$.index[*][?(@.inner.use)].id"
|
2021-02-26 16:55:08 -06:00
|
|
|
pub use inner::Public;
|
2022-07-15 10:48:46 -05:00
|
|
|
|
2024-07-19 09:50:47 -05:00
|
|
|
//@ ismany "$.index[*][?(@.name=='simple_private')].inner.module.items[*]" $use_id
|