Debian Codegraph @

crates/wit-component/tests/interfaces/simple-world.wat

raw
1 (component
2 (type (;0;)
3 (component
4 (type (;0;)
5 (instance
6 (type (;0;) (func (param "arg" string)))
7 (export (;0;) "log" (func (type 0)))
8 )
9 )
10 (export (;0;) "foo:foo/console" (instance (type 0)))
11 )
12 )
13 (export (;1;) "console" (type 0))
14 (type (;2;)
15 (component
16 (type (;0;)
17 (component
18 (type (;0;)
19 (instance
20 (type (;0;) (func (param "arg" string)))
21 (export (;0;) "log" (func (type 0)))
22 )
23 )
24 (import "foo:foo/console" (instance (;0;) (type 0)))
25 )
26 )
27 (export (;0;) "foo:foo/the-world" (component (type 0)))
28 )
29 )
30 (export (;3;) "the-world" (type 2))
31 (@custom "package-docs" "\01{}")
32 (@producers
33 (processed-by "wit-component" "$CARGO_PKG_VERSION")
34 )
35 )