Debian Codegraph @

crates/wit-component/tests/components/many-same-names/component.wat

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