Debian Codegraph @

crates/wit-component/tests/interfaces/integers.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (type (;0;) (func (param "x" u8)))
7 (export (;0;) "a1" (func (type 0)))
8 (type (;1;) (func (param "x" s8)))
9 (export (;1;) "a2" (func (type 1)))
10 (type (;2;) (func (param "x" u16)))
11 (export (;2;) "a3" (func (type 2)))
12 (type (;3;) (func (param "x" s16)))
13 (export (;3;) "a4" (func (type 3)))
14 (type (;4;) (func (param "x" u32)))
15 (export (;4;) "a5" (func (type 4)))
16 (type (;5;) (func (param "x" s32)))
17 (export (;5;) "a6" (func (type 5)))
18 (type (;6;) (func (param "x" u64)))
19 (export (;6;) "a7" (func (type 6)))
20 (type (;7;) (func (param "x" s64)))
21 (export (;7;) "a8" (func (type 7)))
22 (type (;8;) (func (param "p1" u8) (param "p2" s8) (param "p3" u16) (param "p4" s16) (param "p5" u32) (param "p6" s32) (param "p7" u64) (param "p8" s64)))
23 (export (;8;) "a9" (func (type 8)))
24 (type (;9;) (func (result u8)))
25 (export (;9;) "r1" (func (type 9)))
26 (type (;10;) (func (result s8)))
27 (export (;10;) "r2" (func (type 10)))
28 (type (;11;) (func (result u16)))
29 (export (;11;) "r3" (func (type 11)))
30 (type (;12;) (func (result s16)))
31 (export (;12;) "r4" (func (type 12)))
32 (type (;13;) (func (result u32)))
33 (export (;13;) "r5" (func (type 13)))
34 (type (;14;) (func (result s32)))
35 (export (;14;) "r6" (func (type 14)))
36 (type (;15;) (func (result u64)))
37 (export (;15;) "r7" (func (type 15)))
38 (type (;16;) (func (result s64)))
39 (export (;16;) "r8" (func (type 16)))
40 (type (;17;) (tuple s64 u8))
41 (type (;18;) (func (result 17)))
42 (export (;17;) "pair-ret" (func (type 18)))
43 (export (;18;) "multi-ret" (func (type 18)))
44 )
45 )
46 (export (;0;) "foo:foo/integers" (instance (type 0)))
47 )
48 )
49 (export (;1;) "integers" (type 0))
50 (type (;2;)
51 (component
52 (type (;0;)
53 (component
54 (type (;0;)
55 (instance
56 (type (;0;) (func (param "x" u8)))
57 (export (;0;) "a1" (func (type 0)))
58 (type (;1;) (func (param "x" s8)))
59 (export (;1;) "a2" (func (type 1)))
60 (type (;2;) (func (param "x" u16)))
61 (export (;2;) "a3" (func (type 2)))
62 (type (;3;) (func (param "x" s16)))
63 (export (;3;) "a4" (func (type 3)))
64 (type (;4;) (func (param "x" u32)))
65 (export (;4;) "a5" (func (type 4)))
66 (type (;5;) (func (param "x" s32)))
67 (export (;5;) "a6" (func (type 5)))
68 (type (;6;) (func (param "x" u64)))
69 (export (;6;) "a7" (func (type 6)))
70 (type (;7;) (func (param "x" s64)))
71 (export (;7;) "a8" (func (type 7)))
72 (type (;8;) (func (param "p1" u8) (param "p2" s8) (param "p3" u16) (param "p4" s16) (param "p5" u32) (param "p6" s32) (param "p7" u64) (param "p8" s64)))
73 (export (;8;) "a9" (func (type 8)))
74 (type (;9;) (func (result u8)))
75 (export (;9;) "r1" (func (type 9)))
76 (type (;10;) (func (result s8)))
77 (export (;10;) "r2" (func (type 10)))
78 (type (;11;) (func (result u16)))
79 (export (;11;) "r3" (func (type 11)))
80 (type (;12;) (func (result s16)))
81 (export (;12;) "r4" (func (type 12)))
82 (type (;13;) (func (result u32)))
83 (export (;13;) "r5" (func (type 13)))
84 (type (;14;) (func (result s32)))
85 (export (;14;) "r6" (func (type 14)))
86 (type (;15;) (func (result u64)))
87 (export (;15;) "r7" (func (type 15)))
88 (type (;16;) (func (result s64)))
89 (export (;16;) "r8" (func (type 16)))
90 (type (;17;) (tuple s64 u8))
91 (type (;18;) (func (result 17)))
92 (export (;17;) "pair-ret" (func (type 18)))
93 (export (;18;) "multi-ret" (func (type 18)))
94 )
95 )
96 (import "foo:foo/integers" (instance (;0;) (type 0)))
97 )
98 )
99 (export (;0;) "foo:foo/integers-world" (component (type 0)))
100 )
101 )
102 (export (;3;) "integers-world" (type 2))
103 (@custom "package-docs" "\01{}")
104 (@producers
105 (processed-by "wit-component" "$CARGO_PKG_VERSION")
106 )
107 )