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

83 lines
1.6 KiB
JSON

{
"type": "Script",
"span": {
"start": 75,
"end": 129,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 81,
"end": 82,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 75,
"end": 85,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 111,
"end": 112,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"span": {
"start": 105,
"end": 129,
"ctxt": 0
},
"decorators": [],
"body": [],
"superClass": {
"type": "CallExpression",
"span": {
"start": 121,
"end": 126,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 121,
"end": 124,
"ctxt": 0
},
"value": "err",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}