documentation/test/fixture/factory.output.json
John Firebaugh 08d6dc21bd Replace markdown strings with parsed ASTs
This eliminates the need for formatInlineTags and jsdoc-inline-lex, and simplifies the implementation of HTML themes.
2016-03-28 13:19:30 -07:00

325 lines
7.0 KiB
JSON

[
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "an area chart generator",
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 24,
"offset": 23
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 24,
"offset": 23
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 24,
"offset": 23
}
}
},
"tags": [
{
"title": "returns",
"description": "chart",
"lineNumber": 2,
"type": {
"type": "NameExpression",
"name": "area"
}
}
],
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 4,
"column": 3
}
},
"context": {
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 21,
"column": 2
}
},
"code": "/**\n * an area chart generator\n * @returns {area} chart\n */\nvar area = function() {\n\n /**\n * @class area\n */\n var chart = function(selection) {\n };\n\n /**\n * Sets the chart data.\n * @function\n */\n chart.data = function(_) {\n };\n\n return chart;\n};\n"
},
"errors": [],
"returns": [
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "chart",
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 6,
"offset": 5
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 6,
"offset": 5
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 6,
"offset": 5
}
}
},
"type": {
"type": "NameExpression",
"name": "area"
}
}
],
"name": "area",
"kind": "function",
"members": {
"instance": [],
"static": []
},
"path": [
"area"
]
},
{
"description": "",
"tags": [
{
"title": "class",
"description": null,
"lineNumber": 1,
"type": null,
"name": "area"
}
],
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 9,
"column": 5
}
},
"context": {
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 11,
"column": 4
}
},
"code": "/**\n * an area chart generator\n * @returns {area} chart\n */\nvar area = function() {\n\n /**\n * @class area\n */\n var chart = function(selection) {\n };\n\n /**\n * Sets the chart data.\n * @function\n */\n chart.data = function(_) {\n };\n\n return chart;\n};\n"
},
"errors": [],
"class": {
"name": "area"
},
"name": "area",
"kind": "class",
"params": [
{
"title": "param",
"name": "selection",
"lineNumber": 10
}
],
"members": {
"instance": [],
"static": []
},
"path": [
"area"
]
},
{
"description": {
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Sets the chart data.",
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 21,
"offset": 20
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 21,
"offset": 20
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 1,
"column": 21,
"offset": 20
}
}
},
"tags": [
{
"title": "function",
"description": null,
"lineNumber": 2,
"name": null
}
],
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 16,
"column": 5
}
},
"context": {
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 18,
"column": 4
}
},
"code": "/**\n * an area chart generator\n * @returns {area} chart\n */\nvar area = function() {\n\n /**\n * @class area\n */\n var chart = function(selection) {\n };\n\n /**\n * Sets the chart data.\n * @function\n */\n chart.data = function(_) {\n };\n\n return chart;\n};\n"
},
"errors": [
{
"message": "@memberof reference to chart not found",
"commentLineNumber": 0
}
],
"function": null,
"name": "data",
"kind": "function",
"params": [
{
"title": "param",
"name": "_",
"lineNumber": 17
}
],
"memberof": "chart",
"scope": "static",
"members": {
"instance": [],
"static": []
},
"path": [
"data"
]
}
]