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

59 lines
1.1 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 0,
"end": 11,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 0,
"end": 11,
"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
}