mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
116 lines
2.3 KiB
JSON
116 lines
2.3 KiB
JSON
[
|
|
{
|
|
"description": "This function returns the number one.",
|
|
"tags": [],
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 3
|
|
}
|
|
},
|
|
"context": {
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 1
|
|
}
|
|
},
|
|
"code": "/* eslint-disable */\n\n/**\n * This function returns the number one.\n */\nfunction addThem(a: number, b: string, c: ?boolean, d: Array<number>, e: Object, f: Named): number {\n return a + b + c + d + e;\n};\n\n/* eslint-enable */\n"
|
|
},
|
|
"errors": [],
|
|
"name": "addThem",
|
|
"kind": "function",
|
|
"params": [
|
|
{
|
|
"title": "param",
|
|
"name": "a",
|
|
"lineNumber": 6,
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"title": "param",
|
|
"name": "b",
|
|
"lineNumber": 6,
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"title": "param",
|
|
"name": "c",
|
|
"lineNumber": 6,
|
|
"type": {
|
|
"type": "OptionalType",
|
|
"expression": {
|
|
"type": "NameExpression",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"title": "param",
|
|
"name": "d",
|
|
"lineNumber": 6,
|
|
"type": {
|
|
"type": "TypeApplication",
|
|
"expression": {
|
|
"type": "NameExpression",
|
|
"name": "Array"
|
|
},
|
|
"applications": [
|
|
{
|
|
"type": "NameExpression",
|
|
"name": "number"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"title": "param",
|
|
"name": "e",
|
|
"lineNumber": 6,
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "Object"
|
|
}
|
|
},
|
|
{
|
|
"title": "param",
|
|
"name": "f",
|
|
"lineNumber": 6,
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "Named"
|
|
}
|
|
}
|
|
],
|
|
"returns": [
|
|
{
|
|
"type": {
|
|
"type": "NameExpression",
|
|
"name": "number"
|
|
}
|
|
}
|
|
],
|
|
"members": {
|
|
"instance": [],
|
|
"static": []
|
|
},
|
|
"events": [],
|
|
"path": [
|
|
"addThem"
|
|
]
|
|
}
|
|
] |