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

50 lines
932 B
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"expression": {
"type": "NewExpression",
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"callee": {
"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
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}