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

3816 lines
109 KiB
JSON

{
"type": "Script",
"span": {
"start": 122,
"end": 1816,
"ctxt": 0
},
"body": [
{
"type": "TsModuleDeclaration",
"span": {
"start": 122,
"end": 989,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 129,
"end": 140,
"ctxt": 0
},
"value": "OnlyDerived",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 141,
"end": 989,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 153,
"end": 157,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 147,
"end": 174,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 160,
"end": 172,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 160,
"end": 163,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 163,
"end": 171,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 165,
"end": 171,
"ctxt": 0
},
"kind": "string"
}
},
"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": 185,
"end": 192,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 179,
"end": 222,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 208,
"end": 220,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 208,
"end": 211,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 211,
"end": 219,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 213,
"end": 219,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 201,
"end": 205,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 233,
"end": 241,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 227,
"end": 271,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 257,
"end": 269,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 257,
"end": 260,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 260,
"end": 268,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 262,
"end": 268,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 250,
"end": 254,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 283,
"end": 284,
"ctxt": 0
},
"value": "S",
"optional": false
},
"declare": false,
"span": {
"start": 277,
"end": 302,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 287,
"end": 300,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 287,
"end": 290,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 290,
"end": 299,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 292,
"end": 299,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 292,
"end": 299,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": 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": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 313,
"end": 314,
"ctxt": 0
},
"value": "T",
"optional": false
},
"declare": false,
"span": {
"start": 307,
"end": 333,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 317,
"end": 331,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 317,
"end": 320,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 320,
"end": 330,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 322,
"end": 330,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 322,
"end": 330,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": 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": []
},
{
"type": "VariableDeclaration",
"span": {
"start": 338,
"end": 347,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 342,
"end": 346,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 342,
"end": 343,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 343,
"end": 346,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 345,
"end": 346,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 345,
"end": 346,
"ctxt": 0
},
"value": "S",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 352,
"end": 361,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 356,
"end": 360,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 356,
"end": 357,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 357,
"end": 360,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 359,
"end": 360,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 359,
"end": 360,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 367,
"end": 397,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 377,
"end": 379,
"ctxt": 0
},
"value": "S2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 380,
"end": 397,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 382,
"end": 395,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 382,
"end": 385,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 385,
"end": 394,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 387,
"end": 394,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 387,
"end": 394,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 402,
"end": 433,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 412,
"end": 414,
"ctxt": 0
},
"value": "T2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 415,
"end": 433,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 417,
"end": 431,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 417,
"end": 420,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 420,
"end": 430,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 422,
"end": 430,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 422,
"end": 430,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 438,
"end": 449,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 442,
"end": 448,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 442,
"end": 444,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 444,
"end": 448,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 446,
"end": 448,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 446,
"end": 448,
"ctxt": 0
},
"value": "S2",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 454,
"end": 465,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 458,
"end": 464,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 458,
"end": 460,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 460,
"end": 464,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 462,
"end": 464,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 462,
"end": 464,
"ctxt": 0
},
"value": "T2",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 471,
"end": 495,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 475,
"end": 495,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 475,
"end": 476,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 476,
"end": 495,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 478,
"end": 495,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 480,
"end": 493,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 480,
"end": 483,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 483,
"end": 492,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 485,
"end": 492,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 485,
"end": 492,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 500,
"end": 525,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 504,
"end": 525,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 504,
"end": 505,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 505,
"end": 525,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 507,
"end": 525,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 509,
"end": 523,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 509,
"end": 512,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 512,
"end": 522,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 514,
"end": 522,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 514,
"end": 522,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 531,
"end": 563,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 535,
"end": 562,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 535,
"end": 537,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 540,
"end": 562,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 542,
"end": 545,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NewExpression",
"span": {
"start": 547,
"end": 560,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 551,
"end": 558,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 568,
"end": 601,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 572,
"end": 600,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 572,
"end": 574,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 577,
"end": 600,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 579,
"end": 582,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NewExpression",
"span": {
"start": 584,
"end": 598,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 588,
"end": 596,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 607,
"end": 613,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 607,
"end": 612,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 607,
"end": 608,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 611,
"end": 612,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 627,
"end": 633,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 627,
"end": 632,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 627,
"end": 628,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 631,
"end": 632,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 647,
"end": 654,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 647,
"end": 653,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 647,
"end": 648,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 651,
"end": 653,
"ctxt": 0
},
"value": "s2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 665,
"end": 672,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 665,
"end": 671,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 665,
"end": 666,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 669,
"end": 671,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 684,
"end": 692,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 684,
"end": 691,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 684,
"end": 686,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 689,
"end": 691,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 706,
"end": 714,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 706,
"end": 713,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 706,
"end": 708,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 711,
"end": 713,
"ctxt": 0
},
"value": "s2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 728,
"end": 735,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 728,
"end": 734,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 728,
"end": 730,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 733,
"end": 734,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 749,
"end": 756,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 749,
"end": 755,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 749,
"end": 751,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 754,
"end": 755,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 770,
"end": 778,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 770,
"end": 777,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 770,
"end": 772,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 775,
"end": 777,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 790,
"end": 796,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 790,
"end": 795,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 790,
"end": 791,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 794,
"end": 795,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 810,
"end": 816,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 810,
"end": 815,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 810,
"end": 811,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 814,
"end": 815,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 830,
"end": 836,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 830,
"end": 835,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 830,
"end": 831,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 834,
"end": 835,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 847,
"end": 854,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 847,
"end": 853,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 847,
"end": 848,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 851,
"end": 853,
"ctxt": 0
},
"value": "s2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 865,
"end": 872,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 865,
"end": 871,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 865,
"end": 866,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 869,
"end": 871,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 884,
"end": 892,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 884,
"end": 891,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 884,
"end": 886,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 889,
"end": 891,
"ctxt": 0
},
"value": "b2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 906,
"end": 914,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 906,
"end": 913,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 906,
"end": 908,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 911,
"end": 913,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 928,
"end": 935,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 928,
"end": 934,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 928,
"end": 930,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 933,
"end": 934,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 949,
"end": 957,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 949,
"end": 956,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 949,
"end": 951,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 954,
"end": 956,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 971,
"end": 978,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 971,
"end": 977,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 971,
"end": 973,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 976,
"end": 977,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
}
]
}
},
{
"type": "TsModuleDeclaration",
"span": {
"start": 991,
"end": 1816,
"ctxt": 0
},
"declare": false,
"global": false,
"id": {
"type": "Identifier",
"span": {
"start": 998,
"end": 1006,
"ctxt": 0
},
"value": "WithBase",
"optional": false
},
"body": {
"type": "TsModuleBlock",
"span": {
"start": 1007,
"end": 1816,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1019,
"end": 1023,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"declare": false,
"span": {
"start": 1013,
"end": 1040,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1026,
"end": 1038,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1026,
"end": 1029,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1029,
"end": 1037,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1031,
"end": 1037,
"ctxt": 0
},
"kind": "string"
}
},
"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": 1051,
"end": 1058,
"ctxt": 0
},
"value": "Derived",
"optional": false
},
"declare": false,
"span": {
"start": 1045,
"end": 1088,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1074,
"end": 1086,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1074,
"end": 1077,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1077,
"end": 1085,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1079,
"end": 1085,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 1067,
"end": 1071,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1099,
"end": 1107,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"declare": false,
"span": {
"start": 1093,
"end": 1137,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1123,
"end": 1135,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1123,
"end": 1126,
"ctxt": 0
},
"value": "baz",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1126,
"end": 1134,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1128,
"end": 1134,
"ctxt": 0
},
"kind": "string"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 1116,
"end": 1120,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1149,
"end": 1150,
"ctxt": 0
},
"value": "S",
"optional": false
},
"declare": false,
"span": {
"start": 1143,
"end": 1165,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1153,
"end": 1163,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1153,
"end": 1156,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1156,
"end": 1162,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1158,
"end": 1162,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1158,
"end": 1162,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": 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": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1176,
"end": 1177,
"ctxt": 0
},
"value": "T",
"optional": false
},
"declare": false,
"span": {
"start": 1170,
"end": 1196,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 1180,
"end": 1194,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1180,
"end": 1183,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1183,
"end": 1193,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1185,
"end": 1193,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1185,
"end": 1193,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": 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": []
},
{
"type": "VariableDeclaration",
"span": {
"start": 1201,
"end": 1210,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1205,
"end": 1209,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1205,
"end": 1206,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1206,
"end": 1209,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1208,
"end": 1209,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1208,
"end": 1209,
"ctxt": 0
},
"value": "S",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1215,
"end": 1224,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1219,
"end": 1223,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1219,
"end": 1220,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1220,
"end": 1223,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1222,
"end": 1223,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1222,
"end": 1223,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1230,
"end": 1257,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1240,
"end": 1242,
"ctxt": 0
},
"value": "S2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1243,
"end": 1257,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1245,
"end": 1255,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1245,
"end": 1248,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1248,
"end": 1254,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1250,
"end": 1254,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1250,
"end": 1254,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1262,
"end": 1293,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1272,
"end": 1274,
"ctxt": 0
},
"value": "T2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1275,
"end": 1293,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 1277,
"end": 1291,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1277,
"end": 1280,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1280,
"end": 1290,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1282,
"end": 1290,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1282,
"end": 1290,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1298,
"end": 1309,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1302,
"end": 1308,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1302,
"end": 1304,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1304,
"end": 1308,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1306,
"end": 1308,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1306,
"end": 1308,
"ctxt": 0
},
"value": "S2",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1314,
"end": 1325,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1318,
"end": 1324,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1318,
"end": 1320,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1320,
"end": 1324,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1322,
"end": 1324,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1322,
"end": 1324,
"ctxt": 0
},
"value": "T2",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1331,
"end": 1352,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1335,
"end": 1352,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1335,
"end": 1336,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1336,
"end": 1352,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1338,
"end": 1352,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1340,
"end": 1350,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1340,
"end": 1343,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1343,
"end": 1349,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1345,
"end": 1349,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1345,
"end": 1349,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1357,
"end": 1382,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1361,
"end": 1382,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1361,
"end": 1362,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1362,
"end": 1382,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1364,
"end": 1382,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1366,
"end": 1380,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1366,
"end": 1369,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1369,
"end": 1379,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 1371,
"end": 1379,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 1371,
"end": 1379,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1388,
"end": 1417,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1392,
"end": 1416,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1392,
"end": 1394,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1397,
"end": 1416,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1399,
"end": 1402,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NewExpression",
"span": {
"start": 1404,
"end": 1414,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1408,
"end": 1412,
"ctxt": 0
},
"value": "Base",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1422,
"end": 1455,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1426,
"end": 1454,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1426,
"end": 1428,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1431,
"end": 1454,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1433,
"end": 1436,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NewExpression",
"span": {
"start": 1438,
"end": 1452,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1442,
"end": 1450,
"ctxt": 0
},
"value": "Derived2",
"optional": false
},
"arguments": [],
"typeArguments": null
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1461,
"end": 1467,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1461,
"end": 1466,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1461,
"end": 1462,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1465,
"end": 1466,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1478,
"end": 1484,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1478,
"end": 1483,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1478,
"end": 1479,
"ctxt": 0
},
"value": "t",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1482,
"end": 1483,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1498,
"end": 1505,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1498,
"end": 1504,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1498,
"end": 1499,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1502,
"end": 1504,
"ctxt": 0
},
"value": "s2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1516,
"end": 1523,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1516,
"end": 1522,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1516,
"end": 1517,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1520,
"end": 1522,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1535,
"end": 1543,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1535,
"end": 1542,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1535,
"end": 1537,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1540,
"end": 1542,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1554,
"end": 1562,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1554,
"end": 1561,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1554,
"end": 1556,
"ctxt": 0
},
"value": "t2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1559,
"end": 1561,
"ctxt": 0
},
"value": "s2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1576,
"end": 1583,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1576,
"end": 1582,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1576,
"end": 1578,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1581,
"end": 1582,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1594,
"end": 1601,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1594,
"end": 1600,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1594,
"end": 1596,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1599,
"end": 1600,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1612,
"end": 1620,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1612,
"end": 1619,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1612,
"end": 1614,
"ctxt": 0
},
"value": "s2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1617,
"end": 1619,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1632,
"end": 1638,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1632,
"end": 1637,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1632,
"end": 1633,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1636,
"end": 1637,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1649,
"end": 1655,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1649,
"end": 1654,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1649,
"end": 1650,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1653,
"end": 1654,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1669,
"end": 1675,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1669,
"end": 1674,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1669,
"end": 1670,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1673,
"end": 1674,
"ctxt": 0
},
"value": "s",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1686,
"end": 1693,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1686,
"end": 1692,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1686,
"end": 1687,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1690,
"end": 1692,
"ctxt": 0
},
"value": "s2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1704,
"end": 1711,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1704,
"end": 1710,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1704,
"end": 1705,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1708,
"end": 1710,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1723,
"end": 1731,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1723,
"end": 1730,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1723,
"end": 1725,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1728,
"end": 1730,
"ctxt": 0
},
"value": "b2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1742,
"end": 1750,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1742,
"end": 1749,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1742,
"end": 1744,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1747,
"end": 1749,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1764,
"end": 1771,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1764,
"end": 1770,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1764,
"end": 1766,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1769,
"end": 1770,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1782,
"end": 1790,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1782,
"end": 1789,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1782,
"end": 1784,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1787,
"end": 1789,
"ctxt": 0
},
"value": "t2",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1801,
"end": 1808,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1801,
"end": 1807,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1801,
"end": 1803,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 1806,
"end": 1807,
"ctxt": 0
},
"value": "t",
"optional": false
}
}
}
]
}
}
],
"interpreter": null
}