Debian Codegraph @

crates/wit-component/tests/components/tricky-order/component.wat

raw
1 (component
2 (type (;0;)
3 (instance
4 (type (;0;) (record (field "f" u8)))
5 (export (;1;) "name" (type (eq 0)))
6 )
7 )
8 (import "foo:foo/name1" (instance (;0;) (type 0)))
9 (alias export 0 "name" (type (;1;)))
10 (type (;2;)
11 (instance
12 (alias outer 1 1 (type (;0;)))
13 (export (;1;) "name" (type (eq 0)))
14 )
15 )
16 (import "foo:foo/name2" (instance (;1;) (type 2)))
17 (core module (;0;)
18 (@producers
19 (processed-by "wit-component" "$CARGO_PKG_VERSION")
20 (processed-by "my-fake-bindgen" "123.45")
21 )
22 )
23 (alias export 0 "name" (type (;3;)))
24 (alias export 1 "name" (type (;4;)))
25 (core instance (;0;) (instantiate 0))
26 (alias export 0 "name" (type (;5;)))
27 (alias export 1 "name" (type (;6;)))
28 (component (;0;)
29 (type (;0;) (record (field "f" u8)))
30 (import "import-type-name" (type (;1;) (eq 0)))
31 (import "import-type-name0" (type (;2;) (eq 1)))
32 (export (;3;) "name" (type 1))
33 (export (;4;) "name1" (type 2))
34 )
35 (instance (;2;) (instantiate 0
36 (with "import-type-name" (type 5))
37 (with "import-type-name0" (type 6))
38 )
39 )
40 (export (;3;) "name" (instance 2))
41 (@producers
42 (processed-by "wit-component" "$CARGO_PKG_VERSION")
43 )
44 )