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

86 lines
1.9 KiB
JSON

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