Debian Codegraph @

crates/wit-component/tests/interfaces/use-for-type.wat

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