Files
cli/vendor/wit-parser/tests/ui/comments.wit.json

46 lines
746 B
JSON

{
"worlds": [],
"interfaces": [
{
"name": "foo",
"types": {
"x": 0,
"bar": 1
},
"functions": {},
"docs": {
"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 */"
},
"package": 0
}
],
"types": [
{
"name": "x",
"kind": {
"type": "u32"
},
"owner": {
"interface": 0
}
},
{
"name": "bar",
"kind": {
"stream": 0
},
"owner": {
"interface": 0
}
}
],
"packages": [
{
"name": "foo:comments",
"interfaces": {
"foo": 0
},
"worlds": {}
}
]
}