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

53 lines
1001 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 7,
"ctxt": 0
},
"expression": {
"type": "UpdateExpression",
"span": {
"start": 1,
"end": 6,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "ArrayExpression",
"span": {
"start": 3,
"end": 6,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 4,
"end": 5,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
}
}
}
],
"interpreter": null
}