swc/crates/swc_ecma_parser/tests/tsc/uniqueSymbolsDeclarationsInJsErrors.json
2022-02-04 20:17:42 +09:00

126 lines
2.8 KiB
JSON

{
"type": "Script",
"span": {
"start": 234,
"end": 480,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 240,
"end": 241,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 234,
"end": 480,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 293,
"end": 320,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 300,
"end": 319,
"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": 387,
"end": 407,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 394,
"end": 406,
"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": 457,
"end": 478,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 464,
"end": 477,
"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
}