mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
80 lines
1.6 KiB
JSON
80 lines
1.6 KiB
JSON
[
|
|
{
|
|
"description": "This function returns the number one.",
|
|
"tags": [
|
|
{
|
|
"title": "returns",
|
|
"description": "numberone",
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "Number"
|
|
}
|
|
},
|
|
{
|
|
"title": "name",
|
|
"name": "exports"
|
|
},
|
|
{
|
|
"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};"
|
|
}
|
|
},
|
|
{
|
|
"description": "This function returns the number plus two.",
|
|
"tags": [
|
|
{
|
|
"title": "param",
|
|
"description": "the number",
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "Number"
|
|
},
|
|
"name": "a"
|
|
},
|
|
{
|
|
"title": "returns",
|
|
"description": "numbertwo",
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "Number"
|
|
}
|
|
},
|
|
{
|
|
"title": "name",
|
|
"name": "returnTwo"
|
|
}
|
|
],
|
|
"context": {
|
|
"loc": {
|
|
"start": {
|
|
"line": 7,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 1
|
|
}
|
|
},
|
|
"file": "fixture/simple-two.input.js",
|
|
"code": "function returnTwo(a) {\n // this returns a + 2\n return a + 2;\n}"
|
|
}
|
|
}
|
|
] |