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

50 lines
931 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 14,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 14,
"ctxt": 0
},
"expression": {
"type": "UpdateExpression",
"span": {
"start": 1,
"end": 13,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "NewExpression",
"span": {
"start": 4,
"end": 13,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 8,
"end": 11,
"ctxt": 0
},
"value": "Foo",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
}
],
"interpreter": null
}