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

308 lines
7.4 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 198,
"end": 624,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 204,
"end": 205,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 198,
"end": 624,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 245,
"end": 282,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 252,
"end": 270,
"ctxt": 0
},
"value": "readonlyStaticCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 273,
"end": 281,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 273,
"end": 279,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 349,
"end": 375,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 356,
"end": 374,
"ctxt": 0
},
"value": "readonlyStaticType",
"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": 442,
"end": 486,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 449,
"end": 474,
"ctxt": 0
},
"value": "readonlyStaticTypeAndCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 477,
"end": 485,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 477,
"end": 483,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 491,
"end": 529,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 498,
"end": 517,
"ctxt": 0
},
"value": "readwriteStaticCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 520,
"end": 528,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 520,
"end": 526,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 568,
"end": 592,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 568,
"end": 580,
"ctxt": 0
},
"value": "readonlyCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 583,
"end": 591,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 583,
"end": 589,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 597,
"end": 622,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 597,
"end": 610,
"ctxt": 0
},
"value": "readwriteCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 613,
"end": 621,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 613,
"end": 619,
"ctxt": 0
},
"value": "Symbol",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": false,
"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
}