Debian Codegraph @

tests/snapshots/cli/component-model/imports-exports.wast/0.print

raw
1 (component
2 (type (;0;)
3 (instance
4 (type (;0;) (func (result string)))
5 (export (;0;) "f" (func (type 0)))
6 )
7 )
8 (import "c" (instance $c (;0;) (type 0)))
9 (type (;1;)
10 (component
11 (type (;0;)
12 (instance
13 (type (;0;) (func (result string)))
14 (export (;0;) "f" (func (type 0)))
15 )
16 )
17 (import "c" (instance (;0;) (type 0)))
18 (type (;1;) (func (result string)))
19 (export (;0;) "g" (func (type 1)))
20 )
21 )
22 (import "d" (component $D (;0;) (type 1)))
23 (instance $d1 (;1;) (instantiate $D
24 (with "c" (instance $c))
25 )
26 )
27 (alias export $d1 "g" (func (;0;)))
28 (instance (;2;)
29 (export "f" (func 0))
30 )
31 (instance $d2 (;3;) (instantiate $D
32 (with "c" (instance 2))
33 )
34 )
35 (export (;4;) "d2" (instance $d2))
36 )