swc/crates/swc_ecma_parser/tests/tsc/jsdocParseMatchingBackticks.json

289 lines
7.6 KiB
JSON

{
"type": "Module",
"span": {
"start": 503,
"end": 597,
"ctxt": 0
},
"body": [
{
"type": "ExportDeclaration",
"span": {
"start": 503,
"end": 597,
"ctxt": 0
},
"declaration": {
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 519,
"end": 520,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 521,
"end": 522,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 521,
"end": 522,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 524,
"end": 525,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 524,
"end": 525,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 527,
"end": 528,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 527,
"end": 528,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 530,
"end": 535,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 530,
"end": 535,
"ctxt": 0
},
"value": "alpha",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 537,
"end": 541,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 537,
"end": 541,
"ctxt": 0
},
"value": "beta",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 543,
"end": 548,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 543,
"end": 548,
"ctxt": 0
},
"value": "gamma",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 510,
"end": 597,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 550,
"end": 597,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 556,
"end": 595,
"ctxt": 0
},
"argument": {
"type": "BinaryExpression",
"span": {
"start": 563,
"end": 595,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 563,
"end": 587,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 563,
"end": 580,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 563,
"end": 572,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "BinaryExpression",
"span": {
"start": 563,
"end": 568,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "Identifier",
"span": {
"start": 563,
"end": 564,
"ctxt": 0
},
"value": "x",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 571,
"end": 572,
"ctxt": 0
},
"value": "z",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 575,
"end": 580,
"ctxt": 0
},
"value": "alpha",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 583,
"end": 587,
"ctxt": 0
},
"value": "beta",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 590,
"end": 595,
"ctxt": 0
},
"value": "gamma",
"optional": false
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
}
],
"interpreter": null
}