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

59 lines
1.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"expression": {
"type": "BinaryExpression",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"operator": "<",
"left": {
"type": "NewExpression",
"span": {
"start": 0,
"end": 8,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 4,
"end": 8,
"ctxt": 0
},
"value": "Date",
"optional": false
},
"arguments": null,
"typeArguments": null
},
"right": {
"type": "Identifier",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
}
],
"interpreter": null
}