Debian Codegraph @

tests/snapshots/cli/component-model/instantiate.wast/9.print

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (core type (;0;)
7 (module)
8 )
9 (export (;0;) "a" (core module (type 0)))
10 )
11 )
12 (import "a" (instance (;0;) (type 0)))
13 )
14 )
15 (import "a" (component $m (;0;) (type 0)))
16 (type (;1;)
17 (component
18 (core type (;0;)
19 (module)
20 )
21 (export (;0;) "b" (core module (type 0)))
22 )
23 )
24 (import "b" (component $m2 (;1;) (type 1)))
25 (instance $x (;0;) (instantiate $m2))
26 (alias export $x "b" (core module (;0;)))
27 (instance (;1;)
28 (export "a" (core module 0))
29 )
30 (instance (;2;) (instantiate $m
31 (with "a" (instance 1))
32 )
33 )
34 )