Debian Codegraph @

crates/wit-component/tests/interfaces/type-alias.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (type (;0;) u8)
7 (export (;1;) "a" (type (eq 0)))
8 (export (;2;) "b" (type (eq 1)))
9 (type (;3;) (func (param "a" 1) (result 2)))
10 (export (;0;) "f" (func (type 3)))
11 )
12 )
13 (export (;0;) "foo:foo/foo" (instance (type 0)))
14 )
15 )
16 (export (;1;) "foo" (type 0))
17 (type (;2;)
18 (component
19 (type (;0;)
20 (component
21 (type (;0;)
22 (instance
23 (type (;0;) u8)
24 (export (;1;) "a" (type (eq 0)))
25 (export (;2;) "b" (type (eq 1)))
26 (type (;3;) (func (param "a" 1) (result 2)))
27 (export (;0;) "f" (func (type 3)))
28 )
29 )
30 (import "foo:foo/foo" (instance (;0;) (type 0)))
31 (type (;1;)
32 (instance
33 (type (;0;) u8)
34 (export (;1;) "a" (type (eq 0)))
35 (export (;2;) "b" (type (eq 1)))
36 (type (;3;) (func (param "a" 1) (result 2)))
37 (export (;0;) "f" (func (type 3)))
38 )
39 )
40 (export (;1;) "foo:foo/foo" (instance (type 1)))
41 )
42 )
43 (export (;0;) "foo:foo/my-world" (component (type 0)))
44 )
45 )
46 (export (;3;) "my-world" (type 2))
47 (@custom "package-docs" "\01{}")
48 (@producers
49 (processed-by "wit-component" "$CARGO_PKG_VERSION")
50 )
51 )