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

66 lines
1.3 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 14,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 14,
"ctxt": 0
},
"expression": {
"type": "NewExpression",
"span": {
"start": 1,
"end": 13,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 5,
"end": 11,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 5,
"end": 8,
"ctxt": 0
},
"value": "Foo",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 8,
"end": 11,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}