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

68 lines
1.3 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1,
"end": 10,
"ctxt": 0
},
"object": {
"type": "NewExpression",
"span": {
"start": 1,
"end": 8,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 5,
"end": 6,
"ctxt": 0
},
"value": "A",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"property": {
"type": "Identifier",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}