Debian Codegraph @

crates/wit-component/tests/interfaces/pkg-use-chain.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 )
9 )
10 (export (;0;) "foo:chain/a" (instance (type 0)))
11 )
12 )
13 (export (;1;) "a" (type 0))
14 (type (;2;)
15 (component
16 (type (;0;)
17 (instance
18 (type (;0;) u8)
19 (export (;1;) "a" (type (eq 0)))
20 )
21 )
22 (import "foo:chain/a" (instance (;0;) (type 0)))
23 (alias export 0 "a" (type (;1;)))
24 (type (;2;)
25 (instance
26 (alias outer 1 1 (type (;0;)))
27 (export (;1;) "a" (type (eq 0)))
28 (type (;2;) (enum "other"))
29 (export (;3;) "name" (type (eq 2)))
30 )
31 )
32 (export (;1;) "foo:chain/def" (instance (type 2)))
33 )
34 )
35 (export (;3;) "def" (type 2))
36 (type (;4;)
37 (component
38 (type (;0;)
39 (instance
40 (type (;0;) u8)
41 (export (;1;) "a" (type (eq 0)))
42 )
43 )
44 (import "foo:chain/a" (instance (;0;) (type 0)))
45 (alias export 0 "a" (type (;1;)))
46 (type (;2;)
47 (instance
48 (alias outer 1 1 (type (;0;)))
49 (export (;1;) "a" (type (eq 0)))
50 (type (;2;) (enum "other"))
51 (export (;3;) "name" (type (eq 2)))
52 )
53 )
54 (import "foo:chain/def" (instance (;1;) (type 2)))
55 (alias export 1 "name" (type (;3;)))
56 (type (;4;)
57 (instance
58 (alias outer 1 3 (type (;0;)))
59 (export (;1;) "name" (type (eq 0)))
60 )
61 )
62 (export (;2;) "foo:chain/foo" (instance (type 4)))
63 )
64 )
65 (export (;5;) "foo" (type 4))
66 (@custom "package-docs" "\01{}")
67 (@producers
68 (processed-by "wit-component" "$CARGO_PKG_VERSION")
69 )
70 )