wit-parser 0.247.0

Tooling for parsing `*.wit` files and working with their contents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
package foo:functions;

interface functions {
  f1: func();
  f2: func(a: u32);
  f3: func(a: u32,);
  f4: func() -> u32;
  f6: func() -> tuple<u32, u32>;
  f7: func(a: f32, b: f32) -> tuple<u32, u32>;
  f8: func(a: option<u32>) -> result<u32, f32>;
}