Debian Codegraph @

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

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