Files
cli/vendor/wit-parser/tests/ui/world-implicit-import1.wit.json

81 lines
1.1 KiB
JSON

{
"worlds": [
{
"name": "the-world",
"imports": {
"interface-0": {
"interface": {
"id": 0
}
},
"bar": {
"interface": {
"id": 1
}
},
"foo": {
"interface": {
"id": 2
}
}
},
"exports": {},
"package": 0
}
],
"interfaces": [
{
"name": "foo",
"types": {
"a": 0
},
"functions": {},
"package": 0
},
{
"name": null,
"types": {
"a": 1
},
"functions": {},
"package": 0
},
{
"name": null,
"types": {},
"functions": {},
"package": 0
}
],
"types": [
{
"name": "a",
"kind": {
"type": "u32"
},
"owner": {
"interface": 0
}
},
{
"name": "a",
"kind": {
"type": 0
},
"owner": {
"interface": 1
}
}
],
"packages": [
{
"name": "foo:foo",
"interfaces": {
"foo": 0
},
"worlds": {
"the-world": 0
}
}
]
}