Debian Codegraph @

crates/wit-component/tests/interfaces/multi-doc.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (type (;0;) (record (field "f" u8)))
7 (export (;1;) "the-type" (type (eq 0)))
8 )
9 )
10 (export (;0;) "foo:foo/b" (instance (type 0)))
11 )
12 )
13 (export (;1;) "b" (type 0))
14 (type (;2;)
15 (component
16 (type (;0;)
17 (instance
18 (type (;0;) (record (field "f" u8)))
19 (export (;1;) "the-type" (type (eq 0)))
20 )
21 )
22 (import "foo:foo/b" (instance (;0;) (type 0)))
23 (alias export 0 "the-type" (type (;1;)))
24 (type (;2;)
25 (instance
26 (alias outer 1 1 (type (;0;)))
27 (export (;1;) "the-type" (type (eq 0)))
28 )
29 )
30 (export (;1;) "foo:foo/a" (instance (type 2)))
31 )
32 )
33 (export (;3;) "a" (type 2))
34 (type (;4;)
35 (component
36 (type (;0;)
37 (instance
38 (type (;0;) (record (field "f" u8)))
39 (export (;1;) "the-type" (type (eq 0)))
40 )
41 )
42 (import "foo:foo/b" (instance (;0;) (type 0)))
43 (alias export 0 "the-type" (type (;1;)))
44 (type (;2;)
45 (instance
46 (alias outer 1 1 (type (;0;)))
47 (export (;1;) "the-type" (type (eq 0)))
48 )
49 )
50 (export (;1;) "foo:foo/b2" (instance (type 2)))
51 )
52 )
53 (export (;5;) "b2" (type 4))
54 (type (;6;)
55 (component
56 (type (;0;)
57 (instance
58 (type (;0;) (record (field "f" u8)))
59 (export (;1;) "the-type" (type (eq 0)))
60 )
61 )
62 (import "foo:foo/b" (instance (;0;) (type 0)))
63 (alias export 0 "the-type" (type (;1;)))
64 (type (;2;)
65 (instance
66 (alias outer 1 1 (type (;0;)))
67 (export (;1;) "the-type" (type (eq 0)))
68 )
69 )
70 (export (;1;) "foo:foo/a2" (instance (type 2)))
71 )
72 )
73 (export (;7;) "a2" (type 6))
74 (@custom "package-docs" "\01{}")
75 (@producers
76 (processed-by "wit-component" "$CARGO_PKG_VERSION")
77 )
78 )