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

68 lines
1.3 KiB
JSON

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