mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
Can now infer * function * constant * class Remove unused var and inapplicable comment Use strict, use a string to run functions not legal in strict mode Make output fancier and better. Use difflet, channel rage Normalize html / json output Omit json from test output Fixup output
58 lines
1.1 KiB
JSON
58 lines
1.1 KiB
JSON
[
|
|
{
|
|
"description": "This function returns the number one.",
|
|
"tags": [
|
|
{
|
|
"title": "returns",
|
|
"description": "numberone",
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "Number"
|
|
}
|
|
},
|
|
{
|
|
"title": "name",
|
|
"name": "exports"
|
|
},
|
|
{
|
|
"title": "kind",
|
|
"kind": "function"
|
|
},
|
|
{
|
|
"title": "memberof",
|
|
"description": "module"
|
|
},
|
|
{
|
|
"title": "static"
|
|
}
|
|
],
|
|
"context": {
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 2
|
|
}
|
|
},
|
|
"file": "fixture/simple.input.js",
|
|
"code": "module.exports = function () {\n // this returns 1\n return 1;\n};"
|
|
},
|
|
"returns": [
|
|
{
|
|
"title": "returns",
|
|
"description": "numberone",
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "Number"
|
|
}
|
|
}
|
|
],
|
|
"name": "exports",
|
|
"kind": "function",
|
|
"memberof": "module",
|
|
"scope": "static"
|
|
}
|
|
] |