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

4024 lines
105 KiB
JSON

{
"type": "Script",
"span": {
"start": 121,
"end": 2524,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 127,
"end": 129,
"ctxt": 0
},
"value": "C1",
"optional": false
},
"declare": false,
"span": {
"start": 121,
"end": 333,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 136,
"end": 146,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 136,
"end": 137,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 137,
"end": 145,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 139,
"end": 145,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 161,
"end": 183,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 161,
"end": 162,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 162,
"end": 182,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 164,
"end": 182,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 164,
"end": 170,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 173,
"end": 182,
"ctxt": 0
},
"kind": "undefined"
}
]
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 188,
"end": 205,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 188,
"end": 189,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 189,
"end": 204,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 191,
"end": 204,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 191,
"end": 197,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 200,
"end": 204,
"ctxt": 0
},
"kind": "null"
}
]
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 220,
"end": 231,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 220,
"end": 221,
"ctxt": 0
},
"value": "d",
"optional": true
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 222,
"end": 230,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 224,
"end": 230,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": true,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 236,
"end": 247,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 236,
"end": 238,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 237,
"end": 238,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 238,
"end": 246,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 240,
"end": 246,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 260,
"end": 283,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 260,
"end": 262,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 261,
"end": 262,
"ctxt": 0
},
"value": "g",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 262,
"end": 282,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 264,
"end": 282,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 264,
"end": 270,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 273,
"end": 282,
"ctxt": 0
},
"kind": "undefined"
}
]
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 288,
"end": 306,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 288,
"end": 290,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 289,
"end": 290,
"ctxt": 0
},
"value": "h",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 290,
"end": 305,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 292,
"end": 305,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 292,
"end": 298,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 301,
"end": 305,
"ctxt": 0
},
"kind": "null"
}
]
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 319,
"end": 331,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 319,
"end": 321,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 320,
"end": 321,
"ctxt": 0
},
"value": "i",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 322,
"end": 330,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 324,
"end": 330,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": true,
"isOverride": false,
"readonly": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 405,
"end": 407,
"ctxt": 0
},
"value": "C2",
"optional": false
},
"declare": true,
"span": {
"start": 391,
"end": 580,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 414,
"end": 424,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 414,
"end": 415,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 415,
"end": 423,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 417,
"end": 423,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 429,
"end": 451,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 429,
"end": 430,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 430,
"end": 450,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 432,
"end": 450,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 432,
"end": 438,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 441,
"end": 450,
"ctxt": 0
},
"kind": "undefined"
}
]
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 456,
"end": 473,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 456,
"end": 457,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 457,
"end": 472,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 459,
"end": 472,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 459,
"end": 465,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 468,
"end": 472,
"ctxt": 0
},
"kind": "null"
}
]
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 478,
"end": 489,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 478,
"end": 479,
"ctxt": 0
},
"value": "d",
"optional": true
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 480,
"end": 488,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 482,
"end": 488,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": true,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 499,
"end": 510,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 499,
"end": 501,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 500,
"end": 501,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 501,
"end": 509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 503,
"end": 509,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 515,
"end": 538,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 515,
"end": 517,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 516,
"end": 517,
"ctxt": 0
},
"value": "g",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 517,
"end": 537,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 519,
"end": 537,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 519,
"end": 525,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 528,
"end": 537,
"ctxt": 0
},
"kind": "undefined"
}
]
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 543,
"end": 561,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 543,
"end": 545,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 544,
"end": 545,
"ctxt": 0
},
"value": "h",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 545,
"end": 560,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 547,
"end": 560,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 547,
"end": 553,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 556,
"end": 560,
"ctxt": 0
},
"kind": "null"
}
]
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 566,
"end": 578,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 566,
"end": 568,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 567,
"end": 568,
"ctxt": 0
},
"value": "i",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 569,
"end": 577,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 571,
"end": 577,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": true,
"isOverride": false,
"readonly": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 643,
"end": 645,
"ctxt": 0
},
"value": "C3",
"optional": false
},
"declare": false,
"span": {
"start": 637,
"end": 757,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 652,
"end": 669,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 659,
"end": 660,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 660,
"end": 668,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 662,
"end": 668,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 674,
"end": 703,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 681,
"end": 682,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 682,
"end": 702,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 684,
"end": 702,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 684,
"end": 690,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 693,
"end": 702,
"ctxt": 0
},
"kind": "undefined"
}
]
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 708,
"end": 732,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 715,
"end": 716,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 716,
"end": 731,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 718,
"end": 731,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 718,
"end": 724,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 727,
"end": 731,
"ctxt": 0
},
"kind": "null"
}
]
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 737,
"end": 755,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 744,
"end": 745,
"ctxt": 0
},
"value": "d",
"optional": true
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 746,
"end": 754,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 748,
"end": 754,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": true,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 819,
"end": 821,
"ctxt": 0
},
"value": "C4",
"optional": false
},
"declare": false,
"span": {
"start": 813,
"end": 930,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 828,
"end": 834,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 828,
"end": 829,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 832,
"end": 833,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 839,
"end": 853,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 839,
"end": 840,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 851,
"end": 852,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 840,
"end": 848,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 842,
"end": 848,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 858,
"end": 876,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 858,
"end": 859,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 870,
"end": 875,
"ctxt": 0
},
"value": "abc",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 859,
"end": 867,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 861,
"end": 867,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 881,
"end": 887,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 881,
"end": 883,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 882,
"end": 883,
"ctxt": 0
},
"value": "d",
"optional": false
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 886,
"end": 887,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 892,
"end": 906,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 892,
"end": 894,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 893,
"end": 894,
"ctxt": 0
},
"value": "e",
"optional": false
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 905,
"end": 906,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 894,
"end": 902,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 896,
"end": 902,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 911,
"end": 928,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 911,
"end": 913,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 912,
"end": 913,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"value": {
"type": "StringLiteral",
"span": {
"start": 923,
"end": 928,
"ctxt": 0
},
"value": "abc",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 913,
"end": 921,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 915,
"end": 921,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1006,
"end": 1008,
"ctxt": 0
},
"value": "C5",
"optional": false
},
"declare": false,
"span": {
"start": 1000,
"end": 1110,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1015,
"end": 1025,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1015,
"end": 1016,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1016,
"end": 1024,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1018,
"end": 1024,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 1030,
"end": 1041,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 1030,
"end": 1032,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1031,
"end": 1032,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1032,
"end": 1040,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1034,
"end": 1040,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "Constructor",
"span": {
"start": 1046,
"end": 1108,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1046,
"end": 1057,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 1060,
"end": 1108,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1070,
"end": 1081,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1070,
"end": 1080,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1070,
"end": 1076,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1070,
"end": 1074,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1075,
"end": 1076,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1079,
"end": 1080,
"ctxt": 0
},
"value": 0.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1090,
"end": 1102,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1090,
"end": 1101,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1090,
"end": 1097,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1090,
"end": 1094,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 1095,
"end": 1097,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1096,
"end": 1097,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1100,
"end": 1101,
"ctxt": 0
},
"value": 0.0
}
}
}
]
},
"accessibility": null,
"isOptional": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1161,
"end": 1163,
"ctxt": 0
},
"value": "C6",
"optional": false
},
"declare": false,
"span": {
"start": 1155,
"end": 1337,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1170,
"end": 1180,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1170,
"end": 1171,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1171,
"end": 1179,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1173,
"end": 1179,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 1195,
"end": 1205,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 1195,
"end": 1197,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1196,
"end": 1197,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1197,
"end": 1205,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1199,
"end": 1205,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "Constructor",
"span": {
"start": 1210,
"end": 1335,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1210,
"end": 1221,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [
{
"type": "Parameter",
"span": {
"start": 1222,
"end": 1235,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1222,
"end": 1235,
"ctxt": 0
},
"value": "cond",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1226,
"end": 1235,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1228,
"end": 1235,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"body": {
"type": "BlockStatement",
"span": {
"start": 1237,
"end": 1335,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 1247,
"end": 1288,
"ctxt": 0
},
"test": {
"type": "Identifier",
"span": {
"start": 1251,
"end": 1255,
"ctxt": 0
},
"value": "cond",
"optional": false
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 1257,
"end": 1288,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1271,
"end": 1278,
"ctxt": 0
},
"argument": null
}
]
},
"alternate": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 1297,
"end": 1308,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1297,
"end": 1307,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1297,
"end": 1303,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1297,
"end": 1301,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1302,
"end": 1303,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1306,
"end": 1307,
"ctxt": 0
},
"value": 0.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1317,
"end": 1329,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1317,
"end": 1328,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1317,
"end": 1324,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1317,
"end": 1321,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 1322,
"end": 1324,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1323,
"end": 1324,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1327,
"end": 1328,
"ctxt": 0
},
"value": 0.0
}
}
}
]
},
"accessibility": null,
"isOptional": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1345,
"end": 1347,
"ctxt": 0
},
"value": "C7",
"optional": false
},
"declare": false,
"span": {
"start": 1339,
"end": 1561,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1354,
"end": 1364,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1354,
"end": 1355,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1355,
"end": 1363,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1357,
"end": 1363,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 1369,
"end": 1380,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 1369,
"end": 1371,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1370,
"end": 1371,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1371,
"end": 1379,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1373,
"end": 1379,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "Constructor",
"span": {
"start": 1385,
"end": 1559,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1385,
"end": 1396,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [
{
"type": "Parameter",
"span": {
"start": 1397,
"end": 1410,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1397,
"end": 1410,
"ctxt": 0
},
"value": "cond",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1401,
"end": 1410,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1403,
"end": 1410,
"ctxt": 0
},
"kind": "boolean"
}
}
}
}
],
"body": {
"type": "BlockStatement",
"span": {
"start": 1412,
"end": 1559,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 1422,
"end": 1512,
"ctxt": 0
},
"test": {
"type": "Identifier",
"span": {
"start": 1426,
"end": 1430,
"ctxt": 0
},
"value": "cond",
"optional": false
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 1432,
"end": 1512,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1446,
"end": 1457,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1446,
"end": 1456,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1446,
"end": 1452,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1446,
"end": 1450,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1451,
"end": 1452,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1455,
"end": 1456,
"ctxt": 0
},
"value": 1.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1470,
"end": 1482,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1470,
"end": 1481,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1470,
"end": 1477,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1470,
"end": 1474,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 1475,
"end": 1477,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1476,
"end": 1477,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1480,
"end": 1481,
"ctxt": 0
},
"value": 1.0
}
}
},
{
"type": "ReturnStatement",
"span": {
"start": 1495,
"end": 1502,
"ctxt": 0
},
"argument": null
}
]
},
"alternate": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 1521,
"end": 1532,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1521,
"end": 1531,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1521,
"end": 1527,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1521,
"end": 1525,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1526,
"end": 1527,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1530,
"end": 1531,
"ctxt": 0
},
"value": 0.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1541,
"end": 1553,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1541,
"end": 1552,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1541,
"end": 1548,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1541,
"end": 1545,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 1546,
"end": 1548,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1547,
"end": 1548,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1551,
"end": 1552,
"ctxt": 0
},
"value": 1.0
}
}
}
]
},
"accessibility": null,
"isOptional": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1625,
"end": 1627,
"ctxt": 0
},
"value": "C8",
"optional": false
},
"declare": false,
"span": {
"start": 1619,
"end": 1688,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1634,
"end": 1644,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1634,
"end": 1635,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1635,
"end": 1643,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1637,
"end": 1643,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1659,
"end": 1671,
"ctxt": 0
},
"key": {
"type": "StringLiteral",
"span": {
"start": 1659,
"end": 1662,
"ctxt": 0
},
"value": "b",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1662,
"end": 1670,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1664,
"end": 1670,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1676,
"end": 1686,
"ctxt": 0
},
"key": {
"type": "NumericLiteral",
"span": {
"start": 1676,
"end": 1677,
"ctxt": 0
},
"value": 0.0
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1677,
"end": 1685,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1679,
"end": 1685,
"ctxt": 0
},
"kind": "number"
}
},
"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": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1762,
"end": 1764,
"ctxt": 0
},
"value": "C9",
"optional": false
},
"declare": false,
"span": {
"start": 1747,
"end": 1884,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1771,
"end": 1790,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1780,
"end": 1781,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1781,
"end": 1789,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1783,
"end": 1789,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": true,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1795,
"end": 1826,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1804,
"end": 1805,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1805,
"end": 1825,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 1807,
"end": 1825,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 1807,
"end": 1813,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 1816,
"end": 1825,
"ctxt": 0
},
"kind": "undefined"
}
]
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": true,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1831,
"end": 1857,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1840,
"end": 1841,
"ctxt": 0
},
"value": "c",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1841,
"end": 1856,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 1843,
"end": 1856,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 1843,
"end": 1849,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 1852,
"end": 1856,
"ctxt": 0
},
"kind": "null"
}
]
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": true,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1862,
"end": 1882,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1871,
"end": 1872,
"ctxt": 0
},
"value": "d",
"optional": true
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1873,
"end": 1881,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1875,
"end": 1881,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": true,
"isOptional": true,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": true,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2005,
"end": 2008,
"ctxt": 0
},
"value": "C10",
"optional": false
},
"declare": false,
"span": {
"start": 1999,
"end": 2267,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 2015,
"end": 2025,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2015,
"end": 2016,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2016,
"end": 2024,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2018,
"end": 2024,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 2030,
"end": 2040,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2030,
"end": 2031,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2031,
"end": 2039,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2033,
"end": 2039,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 2045,
"end": 2056,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2045,
"end": 2046,
"ctxt": 0
},
"value": "c",
"optional": true
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2047,
"end": 2055,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2049,
"end": 2055,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": true,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 2061,
"end": 2072,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 2061,
"end": 2063,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2062,
"end": 2063,
"ctxt": 0
},
"value": "d",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2063,
"end": 2071,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2065,
"end": 2071,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "Constructor",
"span": {
"start": 2077,
"end": 2265,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2077,
"end": 2088,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 2091,
"end": 2265,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2101,
"end": 2116,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2105,
"end": 2115,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2105,
"end": 2106,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2109,
"end": 2115,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2109,
"end": 2113,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2114,
"end": 2115,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2135,
"end": 2151,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2135,
"end": 2150,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2135,
"end": 2141,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2135,
"end": 2139,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2140,
"end": 2141,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "MemberExpression",
"span": {
"start": 2144,
"end": 2150,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2144,
"end": 2148,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2149,
"end": 2150,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2170,
"end": 2186,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2170,
"end": 2186,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2170,
"end": 2176,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2170,
"end": 2174,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2175,
"end": 2176,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"right": {
"type": "MemberExpression",
"span": {
"start": 2179,
"end": 2186,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2179,
"end": 2183,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 2184,
"end": 2186,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2185,
"end": 2186,
"ctxt": 0
},
"value": "d",
"optional": false
}
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2203,
"end": 2214,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2203,
"end": 2213,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2203,
"end": 2209,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2203,
"end": 2207,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2208,
"end": 2209,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 2212,
"end": 2213,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2223,
"end": 2235,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2223,
"end": 2234,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2223,
"end": 2230,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2223,
"end": 2227,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 2228,
"end": 2230,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2229,
"end": 2230,
"ctxt": 0
},
"value": "d",
"optional": false
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 2233,
"end": 2234,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2244,
"end": 2259,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2248,
"end": 2258,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2248,
"end": 2249,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2252,
"end": 2258,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2252,
"end": 2256,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2257,
"end": 2258,
"ctxt": 0
},
"value": "c",
"optional": false
}
},
"definite": false
}
]
}
]
},
"accessibility": null,
"isOptional": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2374,
"end": 2383,
"ctxt": 0
},
"value": "someValue",
"optional": false
},
"declare": true,
"params": [],
"decorators": [],
"span": {
"start": 2357,
"end": 2391,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 2385,
"end": 2390,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2387,
"end": 2390,
"ctxt": 0
},
"kind": "any"
}
}
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2399,
"end": 2402,
"ctxt": 0
},
"value": "C11",
"optional": false
},
"declare": false,
"span": {
"start": 2393,
"end": 2524,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 2409,
"end": 2419,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2409,
"end": 2410,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2410,
"end": 2418,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2412,
"end": 2418,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 2424,
"end": 2435,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 2424,
"end": 2426,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2425,
"end": 2426,
"ctxt": 0
},
"value": "b",
"optional": false
}
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2426,
"end": 2434,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2428,
"end": 2434,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "Constructor",
"span": {
"start": 2440,
"end": 2522,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2440,
"end": 2451,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 2454,
"end": 2522,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2464,
"end": 2485,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2464,
"end": 2484,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2464,
"end": 2470,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2464,
"end": 2468,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2469,
"end": 2470,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "CallExpression",
"span": {
"start": 2473,
"end": 2484,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2473,
"end": 2482,
"ctxt": 0
},
"value": "someValue",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2494,
"end": 2516,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2494,
"end": 2515,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2494,
"end": 2501,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2494,
"end": 2498,
"ctxt": 0
}
},
"property": {
"type": "PrivateName",
"span": {
"start": 2499,
"end": 2501,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2500,
"end": 2501,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
"right": {
"type": "CallExpression",
"span": {
"start": 2504,
"end": 2515,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2504,
"end": 2513,
"ctxt": 0
},
"value": "someValue",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
}
]
},
"accessibility": null,
"isOptional": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}