| 
4 | 4 | // @is nested.json "$.crate_version" \"1.0.0\"  | 
5 | 5 | // @is - "$.index[*][?(@.name=='nested')].kind" \"module\"  | 
6 | 6 | // @is - "$.index[*][?(@.name=='nested')].inner.is_crate" true  | 
7 |  | -// @count - "$.index[*][?(@.name=='nested')].inner.items[*]" 1  | 
 | 7 | + | 
 | 8 | +// @set l1_id = - "$.index[*][?(@.name=='l1')].id"  | 
 | 9 | +// @ismany - "$.index[*][?(@.name=='nested')].inner.items[*]" $l1_id  | 
8 | 10 | 
 
  | 
9 | 11 | // @is nested.json "$.index[*][?(@.name=='l1')].kind" \"module\"  | 
10 | 12 | // @is - "$.index[*][?(@.name=='l1')].inner.is_crate" false  | 
11 |  | -// @count - "$.index[*][?(@.name=='l1')].inner.items[*]" 2  | 
12 | 13 | pub mod l1 {  | 
13 |  | - | 
14 | 14 |     // @is nested.json "$.index[*][?(@.name=='l3')].kind" \"module\"  | 
15 | 15 |     // @is - "$.index[*][?(@.name=='l3')].inner.is_crate" false  | 
16 |  | -    // @count - "$.index[*][?(@.name=='l3')].inner.items[*]" 1  | 
17 | 16 |     // @set l3_id = - "$.index[*][?(@.name=='l3')].id"  | 
18 |  | -    // @has - "$.index[*][?(@.name=='l1')].inner.items[*]" $l3_id  | 
19 | 17 |     pub mod l3 {  | 
20 | 18 | 
 
  | 
21 | 19 |         // @is nested.json "$.index[*][?(@.name=='L4')].kind" \"struct\"  | 
22 | 20 |         // @is - "$.index[*][?(@.name=='L4')].inner.struct_type" \"unit\"  | 
23 | 21 |         // @set l4_id = - "$.index[*][?(@.name=='L4')].id"  | 
24 |  | -        // @has - "$.index[*][?(@.name=='l3')].inner.items[*]" $l4_id  | 
 | 22 | +        // @ismany - "$.index[*][?(@.name=='l3')].inner.items[*]" $l4_id  | 
25 | 23 |         pub struct L4;  | 
26 | 24 |     }  | 
27 | 25 |     // @is nested.json "$.index[*][?(@.inner.source=='l3::L4')].kind" \"import\"  | 
28 | 26 |     // @is - "$.index[*][?(@.inner.source=='l3::L4')].inner.glob" false  | 
 | 27 | +    // @is - "$.index[*][?(@.inner.source=='l3::L4')].inner.id" $l4_id  | 
 | 28 | +    // @set l4_use_id = - "$.index[*][?(@.inner.source=='l3::L4')].id"  | 
29 | 29 |     pub use l3::L4;  | 
30 | 30 | }  | 
 | 31 | +// @ismany - "$.index[*][?(@.name=='l1')].inner.items[*]" $l3_id $l4_use_id  | 
0 commit comments