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

308 lines
7.4 KiB
JSON

{
"type": "Script",
"span": {
"start": 233,
"end": 659,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 239,
"end": 240,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 233,
"end": 659,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 280,
"end": 317,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 287,
"end": 305,
"ctxt": 0
},
"value": "readonlyStaticCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 308,
"end": 316,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 308,
"end": 314,
"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": 384,
"end": 410,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 391,
"end": 409,
"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": 477,
"end": 521,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 484,
"end": 509,
"ctxt": 0
},
"value": "readonlyStaticTypeAndCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 512,
"end": 520,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 512,
"end": 518,
"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": 526,
"end": 564,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 533,
"end": 552,
"ctxt": 0
},
"value": "readwriteStaticCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 555,
"end": 563,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 555,
"end": 561,
"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": 603,
"end": 627,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 603,
"end": 615,
"ctxt": 0
},
"value": "readonlyCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 618,
"end": 626,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 618,
"end": 624,
"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": 632,
"end": 657,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 632,
"end": 645,
"ctxt": 0
},
"value": "readwriteCall",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 648,
"end": 656,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 648,
"end": 654,
"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
}