Debian Codegraph @

playground/component/wit/world.wit

raw
1 package component:component;
2
3 world wasm-tools {
4 export parse: func(contents: string) -> result<list<u8>, string>;
5
6 variant print-part {
7 str(string),
8 name,
9 literal,
10 keyword,
11 %type,
12 comment,
13 reset,
14 }
15 export print: func(contents: list<u8>, skeleton: bool) -> result<list<print-part>, string>;
16 }