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

50 lines
932 B
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 16,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 16,
"ctxt": 0
},
"expression": {
"type": "NewExpression",
"span": {
"start": 1,
"end": 16,
"ctxt": 0
},
"callee": {
"type": "NewExpression",
"span": {
"start": 5,
"end": 14,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 9,
"end": 12,
"ctxt": 0
},
"value": "Foo",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}