Debian Codegraph @

crates/wit-component/tests/components/import-partial-export-full/component.wat

raw
1 (component
2 (type (;0;)
3 (instance
4 (type (;0;) (list string))
5 (type (;1;) (variant (case "strs" 0)))
6 (export (;2;) "name" (type (eq 1)))
7 )
8 )
9 (import "a:b/name" (instance (;0;) (type 0)))
10 (alias export 0 "name" (type (;1;)))
11 (import "name" (type (;2;) (eq 1)))
12 (core module (;0;)
13 (@producers
14 (processed-by "wit-component" "$CARGO_PKG_VERSION")
15 (processed-by "my-fake-bindgen" "123.45")
16 )
17 )
18 (type (;3;) (list string))
19 (type (;4;) (variant (case "num" u16) (case "strs" 3)))
20 (type (;5;) (variant (case "strs" 3)))
21 (core instance (;0;) (instantiate 0))
22 (component (;0;)
23 (type (;0;) (list string))
24 (type (;1;) (variant (case "num" u16) (case "strs" 0)))
25 (export (;2;) "name2" (type 1))
26 (type (;3;) (variant (case "strs" 0)))
27 (export (;4;) "name" (type 3))
28 )
29 (instance (;1;) (instantiate 0))
30 (export (;2;) "a:b/name" (instance 1))
31 (@producers
32 (processed-by "wit-component" "$CARGO_PKG_VERSION")
33 )
34 )