Debian Codegraph @

crates/wit-component/tests/components/multi-package/module.wit

raw
1 package foo:root;
2 package foo:bar {
3 world module {
4 import bar: interface {
5 record x {
6 a: u8
7 }
8
9 bar1: func(x: string);
10 bar2: func(x: x);
11 }
12 }
13 }
14
15 package baz:qux {
16 world module {
17 import qux: interface {
18 type x = s8;
19
20 qux1: func(x: list<string>);
21 qux2: func();
22 qux3: func(x: x);
23 }
24 }
25 }