Debian Codegraph @

crates/wit-parser/tests/ui/comments.wit.json

raw
1 {
2 "worlds": [],
3 "interfaces": [
4 {
5 "name": "foo",
6 "types": {
7 "x": 0,
8 "bar": 1
9 },
10 "functions": {},
11 "docs": {
12 "contents": " hello\n world\n why, yes\n this is a comment\n* this too */\n* is a comment */\n* this /* is /* a */ nested */ comment */"
13 },
14 "package": 0
15 }
16 ],
17 "types": [
18 {
19 "name": "x",
20 "kind": {
21 "type": "u32"
22 },
23 "owner": {
24 "interface": 0
25 }
26 },
27 {
28 "name": "bar",
29 "kind": {
30 "stream": 0
31 },
32 "owner": {
33 "interface": 0
34 }
35 }
36 ],
37 "packages": [
38 {
39 "name": "foo:comments",
40 "interfaces": {
41 "foo": 0
42 },
43 "worlds": {}
44 }
45 ]
46 }