Debian Codegraph @

crates/wasm-compose/tests/compositions/type-use-and-merge/composed.wat

raw
1 (component
2 (type (;0;)
3 (instance
4 (type (;0;) u32)
5 (export (;1;) "t" (type (eq 0)))
6 (type (;2;) (func (result 1)))
7 (export (;0;) "f2" (func (type 2)))
8 (type (;3;) (func (result 1)))
9 (export (;1;) "f1" (func (type 3)))
10 )
11 )
12 (import "c" (instance (;0;) (type 0)))
13 (component (;0;)
14 (type (;0;)
15 (instance)
16 )
17 (import "b" (instance (;0;) (type 0)))
18 (type (;1;)
19 (instance)
20 )
21 (import "a" (instance (;1;) (type 1)))
22 )
23 (component (;1;)
24 (type (;0;)
25 (instance
26 (type (;0;) u32)
27 (export (;1;) "t" (type (eq 0)))
28 (type (;2;) (func (result 1)))
29 (export (;0;) "f2" (func (type 2)))
30 )
31 )
32 (import "c" (instance (;0;) (type 0)))
33 )
34 (component (;2;)
35 (type (;0;)
36 (instance
37 (type (;0;) u32)
38 (type (;1;) u32)
39 (export (;2;) "t" (type (eq 1)))
40 (type (;3;) (func (result 2)))
41 (export (;0;) "f1" (func (type 3)))
42 )
43 )
44 (import "c" (instance (;0;) (type 0)))
45 )
46 (instance (;1;) (instantiate 2
47 (with "c" (instance 0))
48 )
49 )
50 (instance (;2;) (instantiate 1
51 (with "c" (instance 0))
52 )
53 )
54 (instance (;3;) (instantiate 0
55 (with "b" (instance 2))
56 (with "a" (instance 1))
57 )
58 )
59 )