documentation/test/fixture/default-param.output.md.json
Tom MacWright a65801a6d4 Add and test default parameter parsing.
cc @killercup this implements default parameter parsing for both
flow-annotated and unannotated methods
2015-10-06 15:51:46 -04:00

139 lines
3.6 KiB
JSON

{
"type": "root",
"children": [
{
"type": "root",
"children": [
{
"depth": 1,
"type": "heading",
"children": [
{
"type": "text",
"value": "veryImportantTransform"
}
]
},
{
"type": "root",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "Very Important Transform",
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 25
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 25
},
"indent": []
}
}
],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": "root",
"children": [
{
"type": "strong",
"children": [
{
"type": "text",
"value": "Parameters"
}
]
},
{
"ordered": false,
"type": "list",
"children": [
{
"type": "listItem",
"children": [
{
"type": "paragraph",
"children": [
{
"type": "inlineCode",
"value": "foo"
},
{
"type": "text",
"value": " "
},
{
"type": "text",
"value": " "
},
{
"type": "root",
"children": [],
"position": {
"start": {
"line": 1,
"column": 1
},
"end": {
"line": 1,
"column": 1
}
}
},
{
"type": "root",
"children": [
{
"type": "text",
"value": " (optional, default "
},
{
"type": "inlineCode",
"value": "'bar'"
},
{
"type": "text",
"value": ")"
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}