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

87 lines
1.9 KiB
JSON

{
"type": "Script",
"span": {
"start": 84,
"end": 106,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 84,
"end": 106,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 90,
"end": 105,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 90,
"end": 91,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "AssignmentExpression",
"span": {
"start": 94,
"end": 105,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 94,
"end": 95,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrowFunctionExpression",
"span": {
"start": 98,
"end": 105,
"ctxt": 0
},
"params": [],
"body": {
"type": "NumericLiteral",
"span": {
"start": 104,
"end": 105,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
},
"definite": false
}
]
}
],
"interpreter": null
}