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

126 lines
2.8 KiB
JSON

{
"type": "Script",
"span": {
"start": 235,
"end": 481,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 241,
"end": 242,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 235,
"end": 481,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 294,
"end": 321,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 301,
"end": 320,
"ctxt": 0
},
"value": "readwriteStaticType",
"optional": false
},
"value": null,
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 388,
"end": 408,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 395,
"end": 407,
"ctxt": 0
},
"value": "readonlyType",
"optional": false
},
"value": null,
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 458,
"end": 479,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 465,
"end": 478,
"ctxt": 0
},
"value": "readwriteType",
"optional": false
},
"value": null,
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}