wit-parser 0.247.0

Tooling for parsing `*.wit` files and working with their contents.
Documentation
{
  "worlds": [],
  "interfaces": [
    {
      "name": "foo",
      "types": {
        "bar": 0
      },
      "functions": {
        "my-stable": {
          "name": "my-stable",
          "kind": "freestanding",
          "params": [
            {
              "name": "p",
              "type": 0
            }
          ],
          "result": 1
        }
      },
      "package": 0
    }
  ],
  "types": [
    {
      "name": "bar",
      "kind": {
        "variant": {
          "cases": [
            {
              "name": "x",
              "type": null
            },
            {
              "name": "y",
              "type": null
            }
          ]
        }
      },
      "owner": {
        "interface": 0
      }
    },
    {
      "name": null,
      "kind": {
        "result": {
          "ok": null,
          "err": 0
        }
      },
      "owner": null
    }
  ],
  "packages": [
    {
      "name": "a:b",
      "interfaces": {
        "foo": 0
      },
      "worlds": {}
    }
  ]
}