Debian Codegraph @

crates/wasm-compose/tests/compositions/merged-import/composed.wat

raw
1 (component
2 (type (;0;)
3 (instance
4 (type (;0;) (func))
5 (export (;0;) "b" (func (type 0)))
6 (type (;1;) (func (param "y" u32)))
7 (export (;1;) "c" (func (type 1)))
8 (type (;2;) (func (param "x" string)))
9 (export (;2;) "a" (func (type 2)))
10 )
11 )
12 (import "a" (instance (;0;) (type 0)))
13 (component (;0;)
14 (type (;0;)
15 (instance
16 (type (;0;) (func))
17 (export (;0;) "b" (func (type 0)))
18 (type (;1;) (func (param "y" u32)))
19 (export (;1;) "c" (func (type 1)))
20 )
21 )
22 (import "a" (instance (;0;) (type 0)))
23 (type (;1;)
24 (instance)
25 )
26 (import "b" (instance (;1;) (type 1)))
27 )
28 (component (;1;)
29 (type (;0;)
30 (instance
31 (type (;0;) (func (param "x" string)))
32 (export (;0;) "a" (func (type 0)))
33 (type (;1;) (func (param "y" u32)))
34 (export (;1;) "c" (func (type 1)))
35 )
36 )
37 (import "a" (instance (;0;) (type 0)))
38 )
39 (instance (;1;) (instantiate 1
40 (with "a" (instance 0))
41 )
42 )
43 (instance (;2;) (instantiate 0
44 (with "b" (instance 1))
45 (with "a" (instance 0))
46 )
47 )
48 )