Debian Codegraph @

crates/wit-component/tests/interfaces/foreign-use-chain.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (component
6 (type (;0;)
7 (instance
8 (type (;0;) u8)
9 (export (;1;) "the-type" (type (eq 0)))
10 )
11 )
12 (import "foo:bar/the-interface" (instance (;0;) (type 0)))
13 (alias export 0 "the-type" (type (;1;)))
14 (type (;2;)
15 (instance
16 (alias outer 1 1 (type (;0;)))
17 (export (;1;) "bar" (type (eq 0)))
18 )
19 )
20 (import "foo:bar/bar" (instance (;1;) (type 2)))
21 )
22 )
23 (export (;0;) "foo:foo/foo" (component (type 0)))
24 )
25 )
26 (export (;1;) "foo" (type 0))
27 (@custom "package-docs" "\01{}")
28 (@producers
29 (processed-by "wit-component" "$CARGO_PKG_VERSION")
30 )
31 )