Debian Codegraph @

crates/wit-parser/tests/ui/world-implicit-import1.wit.json

raw
1 {
2 "worlds": [
3 {
4 "name": "the-world",
5 "imports": {
6 "interface-0": {
7 "interface": {
8 "id": 0
9 }
10 },
11 "bar": {
12 "interface": {
13 "id": 1
14 }
15 },
16 "foo": {
17 "interface": {
18 "id": 2
19 }
20 }
21 },
22 "exports": {},
23 "package": 0
24 }
25 ],
26 "interfaces": [
27 {
28 "name": "foo",
29 "types": {
30 "a": 0
31 },
32 "functions": {},
33 "package": 0
34 },
35 {
36 "name": null,
37 "types": {
38 "a": 1
39 },
40 "functions": {},
41 "package": 0
42 },
43 {
44 "name": null,
45 "types": {},
46 "functions": {},
47 "package": 0
48 }
49 ],
50 "types": [
51 {
52 "name": "a",
53 "kind": {
54 "type": "u32"
55 },
56 "owner": {
57 "interface": 0
58 }
59 },
60 {
61 "name": "a",
62 "kind": {
63 "type": 0
64 },
65 "owner": {
66 "interface": 1
67 }
68 }
69 ],
70 "packages": [
71 {
72 "name": "foo:foo",
73 "interfaces": {
74 "foo": 0
75 },
76 "worlds": {
77 "the-world": 0
78 }
79 }
80 ]
81 }