Debian Codegraph @

tests/snapshots/cli/component-model/instance-type.wast/4.print

raw
1 (component
2 (core type (;0;)
3 (module)
4 )
5 (core type $foo (;1;)
6 (module)
7 )
8 (type $empty (;0;) (func))
9 (type $i (;1;)
10 (instance)
11 )
12 (core type (;2;)
13 (module
14 (type (;0;) (func))
15 (import "" "a" (func (type 0)))
16 (import "" "b" (func (type 0)))
17 (type (;1;) (func (param i32)))
18 (import "" "c" (func (type 1)))
19 (type (;2;) (func (param i32) (result i32)))
20 (import "" "d" (func (type 2)))
21 (import "" "e" (global i32))
22 (import "" "f" (memory 1))
23 (import "" "g" (table 1 funcref))
24 (export "a" (func (type 0)))
25 (export "b" (global i32))
26 (export "c" (memory 1))
27 (export "d" (table 1 funcref))
28 (export "e" (func (type 0)))
29 (type (;3;) (func (param i32)))
30 (export "f" (func (type 3)))
31 )
32 )
33 (type (;2;)
34 (component
35 (type (;0;) (func))
36 (import "a" (func (;0;) (type 0)))
37 (alias outer 1 $empty (type (;1;)))
38 (import "b" (func (;1;) (type 1)))
39 (type (;2;) (func (param "c" s32)))
40 (import "c" (func (;2;) (type 2)))
41 (type (;3;) (func (param "d" s32) (result s32)))
42 (import "d" (func (;3;) (type 3)))
43 (type (;4;)
44 (instance)
45 )
46 (import "h" (instance (;0;) (type 4)))
47 (alias outer 1 $i (type (;5;)))
48 (import "i" (instance (;1;) (type 5)))
49 (type (;6;)
50 (instance
51 (type (;0;) (func))
52 (export (;0;) "a" (func (type 0)))
53 (alias outer 1 1 (type (;1;)))
54 (export (;1;) "b" (func (type 1)))
55 (type (;2;) (func (param "c" s32)))
56 (export (;2;) "c" (func (type 2)))
57 )
58 )
59 (import "j" (instance (;2;) (type 6)))
60 (core type (;0;)
61 (module)
62 )
63 (import "k" (core module (;0;) (type 0)))
64 (core type (;1;)
65 (module
66 (type (;0;) (func))
67 (import "" "a" (func (type 0)))
68 (type (;1;) (func (param i32)))
69 (import "" "b" (func (type 1)))
70 (export "a" (func (type 0)))
71 (type (;2;) (func (param i32)))
72 (export "b" (func (type 2)))
73 )
74 )
75 (import "l" (core module (;1;) (type 1)))
76 (type (;7;) (func))
77 (export (;4;) "m" (func (type 7)))
78 (export (;5;) "n" (func (type 1)))
79 (type (;8;) (func (param "f" s32)))
80 (export (;6;) "o" (func (type 8)))
81 (type (;9;)
82 (instance
83 (type (;0;) (func))
84 (export (;0;) "a" (func (type 0)))
85 (alias outer 1 1 (type (;1;)))
86 (export (;1;) "b" (func (type 1)))
87 (type (;2;) (func (param "c" s32)))
88 (export (;2;) "c" (func (type 2)))
89 )
90 )
91 (export (;3;) "p" (instance (type 9)))
92 (core type (;2;)
93 (module
94 (type (;0;) (func))
95 (import "" "a" (func (type 0)))
96 (type (;1;) (func (param i32)))
97 (import "" "b" (func (type 1)))
98 (export "a" (func (type 0)))
99 (type (;2;) (func (param i32)))
100 (export "b" (func (type 2)))
101 )
102 )
103 (export (;2;) "q" (core module (type 2)))
104 )
105 )
106 )