documentation/test/fixture/throws.output.md.json
2015-10-03 16:57:37 -04:00

260 lines
7.3 KiB
JSON

{
"type": "root",
"children": [
{
"type": "root",
"children": [
{
"depth": 1,
"type": "heading",
"children": [
{
"type": "text",
"value": "returnTwo"
}
]
},
{
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "This function returns the number plus two.",
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 43
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 43
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"type": "root",
"children": [
{
"type": "strong",
"children": [
{
"type": "text",
"value": "Parameters"
}
]
},
{
"ordered": false,
"type": "list",
"children": [
{
"type": "listItem",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "inlineCode",
"value": "a"
},
{
"type": "text",
"value": " "
},
{
"type": "strong",
"children": [
{
"type": "text",
"value": "Number"
}
]
},
{
"type": "text",
"value": " "
},
{
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "the number",
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 11
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 11
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 11
}
}
}
]
}
]
}
]
}
]
},
{
"type": "root",
"children": [
{
"type": "strong",
"children": [
{
"type": "text",
"value": "Examples"
}
]
},
{
"type": "root",
"children": [
{
"lang": "javascript",
"type": "code",
"value": "var result = returnTwo(4);\n// result is 6"
}
]
}
]
},
{
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Returns "
},
{
"type": "strong",
"children": [
{
"type": "text",
"value": "Number"
}
]
},
{
"type": "text",
"value": " "
},
{
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "numbertwo",
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 10
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 10
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 10
}
}
}
]
}
]
}
]
}
]
}