Debian Codegraph @

crates/wit-component/tests/components/rename-interface/component.wat

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