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

83 lines
1.6 KiB
JSON

{
"type": "Script",
"span": {
"start": 74,
"end": 128,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 80,
"end": 81,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 74,
"end": 84,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 110,
"end": 111,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"span": {
"start": 104,
"end": 128,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": {
"type": "CallExpression",
"span": {
"start": 120,
"end": 125,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 120,
"end": 123,
"ctxt": 0
},
"value": "err",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}