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

6424 lines
178 KiB
JSON

{
"type": "Script",
"span": {
"start": 306,
"end": 3693,
"ctxt": 0
},
"body": [
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 315,
"end": 317,
"ctxt": 0
},
"value": "a1",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 318,
"end": 361,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 318,
"end": 361,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 319,
"end": 320,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 322,
"end": 323,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "ArrayPattern",
"span": {
"start": 325,
"end": 330,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 326,
"end": 329,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 327,
"end": 328,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 331,
"end": 361,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 333,
"end": 361,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 334,
"end": 340,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 334,
"end": 340,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 342,
"end": 348,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 342,
"end": 348,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 350,
"end": 360,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 350,
"end": 360,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 350,
"end": 358,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 350,
"end": 356,
"ctxt": 0
},
"kind": "string"
}
}
}
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 306,
"end": 366,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 363,
"end": 366,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 376,
"end": 378,
"ctxt": 0
},
"value": "a2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 379,
"end": 406,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 379,
"end": 406,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 380,
"end": 406,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 382,
"end": 406,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 384,
"end": 394,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 384,
"end": 385,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 385,
"end": 393,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 387,
"end": 393,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 395,
"end": 404,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 395,
"end": 396,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 396,
"end": 404,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 398,
"end": 404,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 367,
"end": 411,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 408,
"end": 411,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 421,
"end": 423,
"ctxt": 0
},
"value": "a3",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 424,
"end": 533,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 424,
"end": 533,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 425,
"end": 426,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 425,
"end": 426,
"ctxt": 0
},
"value": "j",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 428,
"end": 429,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 428,
"end": 429,
"ctxt": 0
},
"value": "k",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 431,
"end": 432,
"ctxt": 0
},
"value": "l",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 434,
"end": 440,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 435,
"end": 436,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 435,
"end": 436,
"ctxt": 0
},
"value": "m",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 438,
"end": 439,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 438,
"end": 439,
"ctxt": 0
},
"value": "n",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 442,
"end": 443,
"ctxt": 0
},
"value": "q",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 445,
"end": 454,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 446,
"end": 447,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 449,
"end": 450,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 452,
"end": 453,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 455,
"end": 533,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 457,
"end": 533,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 459,
"end": 469,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 459,
"end": 460,
"ctxt": 0
},
"value": "j",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 460,
"end": 468,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 462,
"end": 468,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 470,
"end": 480,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 470,
"end": 471,
"ctxt": 0
},
"value": "k",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 471,
"end": 479,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 473,
"end": 479,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 481,
"end": 510,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 481,
"end": 482,
"ctxt": 0
},
"value": "l",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 482,
"end": 509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 484,
"end": 509,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 486,
"end": 497,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 486,
"end": 487,
"ctxt": 0
},
"value": "m",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 487,
"end": 496,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 489,
"end": 496,
"ctxt": 0
},
"kind": "boolean"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 498,
"end": 507,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 498,
"end": 499,
"ctxt": 0
},
"value": "n",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 499,
"end": 507,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 501,
"end": 507,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 511,
"end": 531,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 511,
"end": 512,
"ctxt": 0
},
"value": "q",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 512,
"end": 531,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 514,
"end": 531,
"ctxt": 0
},
"elemType": {
"type": "TsParenthesizedType",
"span": {
"start": 514,
"end": 529,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 515,
"end": 528,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 515,
"end": 521,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 522,
"end": 528,
"ctxt": 0
},
"kind": "string"
}
]
}
}
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 412,
"end": 538,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 535,
"end": 538,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "EmptyStatement",
"span": {
"start": 538,
"end": 539,
"ctxt": 0
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 549,
"end": 551,
"ctxt": 0
},
"value": "a4",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 552,
"end": 584,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 552,
"end": 584,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 553,
"end": 554,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 553,
"end": 554,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 556,
"end": 557,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 556,
"end": 557,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 558,
"end": 584,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 560,
"end": 584,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 562,
"end": 572,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 562,
"end": 563,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 563,
"end": 571,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 565,
"end": 571,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 573,
"end": 582,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 573,
"end": 574,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 574,
"end": 582,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 576,
"end": 582,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 540,
"end": 589,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 586,
"end": 589,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 591,
"end": 615,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 591,
"end": 614,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 591,
"end": 593,
"ctxt": 0
},
"value": "a1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 594,
"end": 613,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 595,
"end": 596,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 598,
"end": 599,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 601,
"end": 612,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 602,
"end": 611,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 603,
"end": 610,
"ctxt": 0
},
"value": "world",
"raw": "\"world\""
}
}
]
}
}
]
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 616,
"end": 643,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 616,
"end": 642,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 616,
"end": 618,
"ctxt": 0
},
"value": "a1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 619,
"end": 641,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 620,
"end": 621,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 623,
"end": 624,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 626,
"end": 637,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 627,
"end": 636,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 628,
"end": 635,
"ctxt": 0
},
"value": "world",
"raw": "\"world\""
}
}
]
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 639,
"end": 640,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 909,
"end": 911,
"ctxt": 0
},
"value": "b1",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 912,
"end": 933,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 912,
"end": 933,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 912,
"end": 913,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 916,
"end": 933,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 917,
"end": 926,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 928,
"end": 932,
"ctxt": 0
}
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 900,
"end": 938,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 935,
"end": 938,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "EmptyStatement",
"span": {
"start": 938,
"end": 939,
"ctxt": 0
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 949,
"end": 951,
"ctxt": 0
},
"value": "b2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 952,
"end": 960,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 952,
"end": 960,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 952,
"end": 953,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NullLiteral",
"span": {
"start": 956,
"end": 960,
"ctxt": 0
}
},
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 962,
"end": 988,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 962,
"end": 988,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 962,
"end": 963,
"ctxt": 0
},
"value": "o",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 966,
"end": 988,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 968,
"end": 969,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 971,
"end": 972,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 974,
"end": 975,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 977,
"end": 986,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 940,
"end": 993,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 990,
"end": 993,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1003,
"end": 1005,
"ctxt": 0
},
"value": "b3",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1006,
"end": 1056,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 1006,
"end": 1056,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 1006,
"end": 1022,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1007,
"end": 1008,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 1010,
"end": 1021,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1011,
"end": 1012,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1011,
"end": 1012,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1014,
"end": 1015,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 1017,
"end": 1020,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1018,
"end": 1019,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1018,
"end": 1019,
"ctxt": 0
},
"value": "j",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1025,
"end": 1056,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1027,
"end": 1028,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 1030,
"end": 1054,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1032,
"end": 1033,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 1035,
"end": 1039,
"ctxt": 0
},
"value": "hi",
"raw": "\"hi\""
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1041,
"end": 1042,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 1044,
"end": 1052,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1046,
"end": 1047,
"ctxt": 0
},
"value": "j",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1049,
"end": 1050,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
}
]
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 994,
"end": 1061,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1058,
"end": 1061,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 1063,
"end": 1120,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1073,
"end": 1075,
"ctxt": 0
},
"value": "F1",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 1076,
"end": 1120,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 1082,
"end": 1118,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1082,
"end": 1084,
"ctxt": 0
},
"value": "b5",
"optional": false
},
"computed": false,
"optional": false,
"params": [
{
"type": "Identifier",
"span": {
"start": 1085,
"end": 1086,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1088,
"end": 1089,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
{
"type": "ArrayPattern",
"span": {
"start": 1091,
"end": 1099,
"ctxt": 0
},
"elements": [
null,
{
"type": "Identifier",
"span": {
"start": 1094,
"end": 1095,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1097,
"end": 1098,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
{
"type": "ObjectPattern",
"span": {
"start": 1101,
"end": 1116,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1102,
"end": 1103,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1102,
"end": 1103,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1105,
"end": 1106,
"ctxt": 0
},
"value": "m",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 1108,
"end": 1115,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1110,
"end": 1111,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1110,
"end": 1111,
"ctxt": 0
},
"value": "q",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1113,
"end": 1114,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1113,
"end": 1114,
"ctxt": 0
},
"value": "r",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
}
],
"typeAnn": null,
"typeParams": null
}
]
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1131,
"end": 1133,
"ctxt": 0
},
"value": "b6",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1134,
"end": 1174,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 1134,
"end": 1174,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 1134,
"end": 1143,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1135,
"end": 1136,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1138,
"end": 1139,
"ctxt": 0
},
"value": "z",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1141,
"end": 1142,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 1146,
"end": 1174,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1147,
"end": 1156,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 1158,
"end": 1162,
"ctxt": 0
}
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1164,
"end": 1173,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1122,
"end": 1179,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1176,
"end": 1179,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1189,
"end": 1191,
"ctxt": 0
},
"value": "b7",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1192,
"end": 1263,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 1192,
"end": 1263,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 1192,
"end": 1210,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1193,
"end": 1196,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1194,
"end": 1195,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1198,
"end": 1199,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "ArrayPattern",
"span": {
"start": 1201,
"end": 1209,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1202,
"end": 1208,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1203,
"end": 1204,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1206,
"end": 1207,
"ctxt": 0
},
"value": "d",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 1213,
"end": 1263,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1214,
"end": 1225,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1215,
"end": 1224,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1227,
"end": 1236,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1238,
"end": 1262,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1239,
"end": 1261,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1240,
"end": 1249,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1251,
"end": 1260,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
}
}
]
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1180,
"end": 1268,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1265,
"end": 1268,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 1270,
"end": 1284,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1270,
"end": 1283,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1270,
"end": 1272,
"ctxt": 0
},
"value": "b1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1273,
"end": 1282,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1274,
"end": 1275,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1277,
"end": 1278,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1280,
"end": 1281,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1318,
"end": 1356,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1318,
"end": 1355,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1318,
"end": 1320,
"ctxt": 0
},
"value": "b2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1321,
"end": 1329,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1331,
"end": 1354,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1333,
"end": 1334,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1336,
"end": 1339,
"ctxt": 0
},
"value": 200.0,
"raw": "200"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1341,
"end": 1342,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 1344,
"end": 1352,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1357,
"end": 1391,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1357,
"end": 1390,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1357,
"end": 1359,
"ctxt": 0
},
"value": "b2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1360,
"end": 1368,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
},
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1370,
"end": 1389,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1372,
"end": 1373,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1375,
"end": 1378,
"ctxt": 0
},
"value": 200.0,
"raw": "200"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1380,
"end": 1381,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 1383,
"end": 1387,
"ctxt": 0
},
"value": true
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1392,
"end": 1413,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1392,
"end": 1412,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1392,
"end": 1394,
"ctxt": 0
},
"value": "b6",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1395,
"end": 1411,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1396,
"end": 1404,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1406,
"end": 1407,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1409,
"end": 1410,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1458,
"end": 1495,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1458,
"end": 1494,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1458,
"end": 1460,
"ctxt": 0
},
"value": "b7",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1461,
"end": 1493,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1462,
"end": 1472,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1463,
"end": 1471,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1474,
"end": 1475,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1477,
"end": 1492,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1478,
"end": 1491,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1479,
"end": 1483,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1485,
"end": 1490,
"ctxt": 0
},
"value": false
}
}
]
}
}
]
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 1656,
"end": 1670,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 1661,
"end": 1664,
"ctxt": 0
},
"value": "Foo",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 1667,
"end": 1668,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1667,
"end": 1668,
"ctxt": 0
},
"value": "a",
"optional": false
},
"init": null
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1680,
"end": 1682,
"ctxt": 0
},
"value": "c0",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1683,
"end": 1699,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 1683,
"end": 1699,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1684,
"end": 1685,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 1687,
"end": 1698,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1688,
"end": 1689,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1688,
"end": 1689,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1691,
"end": 1692,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 1694,
"end": 1697,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1695,
"end": 1696,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1695,
"end": 1696,
"ctxt": 0
},
"value": "j",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1671,
"end": 1704,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1701,
"end": 1704,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1714,
"end": 1716,
"ctxt": 0
},
"value": "c1",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1717,
"end": 1732,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 1717,
"end": 1732,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 1717,
"end": 1720,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1718,
"end": 1719,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1718,
"end": 1719,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1723,
"end": 1732,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1725,
"end": 1726,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1728,
"end": 1730,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1705,
"end": 1737,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1734,
"end": 1737,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1747,
"end": 1749,
"ctxt": 0
},
"value": "c2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1750,
"end": 1758,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 1750,
"end": 1758,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1751,
"end": 1757,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1751,
"end": 1752,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1755,
"end": 1757,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
}
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1738,
"end": 1763,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1760,
"end": 1763,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1773,
"end": 1775,
"ctxt": 0
},
"value": "c3",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1776,
"end": 1817,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 1776,
"end": 1817,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 1776,
"end": 1800,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 1777,
"end": 1778,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1777,
"end": 1778,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1779,
"end": 1800,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 1781,
"end": 1800,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 1783,
"end": 1799,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 1783,
"end": 1784,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1784,
"end": 1799,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 1786,
"end": 1799,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 1786,
"end": 1792,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 1793,
"end": 1799,
"ctxt": 0
},
"kind": "string"
}
]
}
},
"typeParams": null
}
]
}
}
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1803,
"end": 1817,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1805,
"end": 1806,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 1808,
"end": 1815,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1764,
"end": 1822,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1819,
"end": 1822,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1832,
"end": 1834,
"ctxt": 0
},
"value": "c5",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1835,
"end": 1848,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 1835,
"end": 1848,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1836,
"end": 1837,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1839,
"end": 1840,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "ArrayPattern",
"span": {
"start": 1842,
"end": 1847,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1843,
"end": 1846,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1844,
"end": 1845,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1823,
"end": 1853,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1850,
"end": 1853,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1863,
"end": 1865,
"ctxt": 0
},
"value": "c6",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 1866,
"end": 1881,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 1866,
"end": 1881,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1867,
"end": 1868,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1870,
"end": 1871,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "ArrayPattern",
"span": {
"start": 1873,
"end": 1880,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1874,
"end": 1879,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 1875,
"end": 1878,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 1875,
"end": 1876,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1877,
"end": 1878,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1854,
"end": 1886,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1883,
"end": 1886,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 1888,
"end": 1926,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1888,
"end": 1925,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1888,
"end": 1890,
"ctxt": 0
},
"value": "c0",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1891,
"end": 1924,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1892,
"end": 1893,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 1896,
"end": 1923,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1898,
"end": 1899,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1901,
"end": 1902,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1904,
"end": 1905,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 1907,
"end": 1921,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1909,
"end": 1910,
"ctxt": 0
},
"value": "j",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 1912,
"end": 1919,
"ctxt": 0
},
"value": "world",
"raw": "\"world\""
}
}
]
}
}
]
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1980,
"end": 2022,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1980,
"end": 2021,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1980,
"end": 1982,
"ctxt": 0
},
"value": "c0",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 1983,
"end": 2020,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1984,
"end": 1985,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 1988,
"end": 2019,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1990,
"end": 1991,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 1993,
"end": 2001,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2003,
"end": 2004,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 2006,
"end": 2017,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2008,
"end": 2009,
"ctxt": 0
},
"value": "j",
"optional": false
},
"value": {
"type": "BooleanLiteral",
"span": {
"start": 2011,
"end": 2015,
"ctxt": 0
},
"value": true
}
}
]
}
}
]
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2073,
"end": 2078,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2073,
"end": 2077,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2073,
"end": 2075,
"ctxt": 0
},
"value": "c1",
"optional": false
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2122,
"end": 2134,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2122,
"end": 2134,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2122,
"end": 2124,
"ctxt": 0
},
"value": "c1",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 2125,
"end": 2133,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2127,
"end": 2128,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 2130,
"end": 2131,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2173,
"end": 2180,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2173,
"end": 2179,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2173,
"end": 2175,
"ctxt": 0
},
"value": "c2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 2176,
"end": 2178,
"ctxt": 0
},
"properties": []
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2221,
"end": 2231,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2221,
"end": 2230,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2221,
"end": 2223,
"ctxt": 0
},
"value": "c2",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 2224,
"end": 2229,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2225,
"end": 2226,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 2227,
"end": 2228,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2270,
"end": 2283,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2270,
"end": 2282,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2270,
"end": 2272,
"ctxt": 0
},
"value": "c3",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ObjectExpression",
"span": {
"start": 2273,
"end": 2281,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2275,
"end": 2276,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 2278,
"end": 2279,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2330,
"end": 2355,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2330,
"end": 2354,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2330,
"end": 2332,
"ctxt": 0
},
"value": "c5",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2333,
"end": 2353,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2334,
"end": 2335,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2337,
"end": 2338,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2340,
"end": 2352,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2341,
"end": 2351,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2342,
"end": 2350,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2412,
"end": 2450,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2412,
"end": 2449,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2412,
"end": 2414,
"ctxt": 0
},
"value": "c5",
"optional": false
},
"arguments": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2415,
"end": 2448,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2416,
"end": 2417,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2419,
"end": 2420,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2422,
"end": 2434,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2423,
"end": 2433,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2424,
"end": 2432,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 2436,
"end": 2441,
"ctxt": 0
},
"value": false
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 2443,
"end": 2447,
"ctxt": 0
},
"value": true
}
}
]
}
}
],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2644,
"end": 2646,
"ctxt": 0
},
"value": "d0",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2647,
"end": 2649,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2647,
"end": 2648,
"ctxt": 0
},
"value": "x",
"optional": true,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2635,
"end": 2654,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2651,
"end": 2654,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2664,
"end": 2666,
"ctxt": 0
},
"value": "d0",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2667,
"end": 2673,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 2667,
"end": 2673,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 2667,
"end": 2668,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 2671,
"end": 2673,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2655,
"end": 2678,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2675,
"end": 2678,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2680,
"end": 2755,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2690,
"end": 2692,
"ctxt": 0
},
"value": "F2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2693,
"end": 2755,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 2699,
"end": 2714,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2699,
"end": 2701,
"ctxt": 0
},
"value": "d3",
"optional": false
},
"computed": false,
"optional": false,
"params": [
{
"type": "ArrayPattern",
"span": {
"start": 2702,
"end": 2711,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 2703,
"end": 2704,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2706,
"end": 2707,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2709,
"end": 2710,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": true,
"typeAnnotation": null
}
],
"typeAnn": null,
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 2719,
"end": 2734,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2719,
"end": 2721,
"ctxt": 0
},
"value": "d4",
"optional": false
},
"computed": false,
"optional": false,
"params": [
{
"type": "ObjectPattern",
"span": {
"start": 2722,
"end": 2731,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2723,
"end": 2724,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2723,
"end": 2724,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2726,
"end": 2727,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2726,
"end": 2727,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2729,
"end": 2730,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2729,
"end": 2730,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": null
}
],
"optional": true,
"typeAnnotation": null
}
],
"typeAnn": null,
"typeParams": null
},
{
"type": "TsMethodSignature",
"span": {
"start": 2739,
"end": 2753,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 2739,
"end": 2741,
"ctxt": 0
},
"value": "e0",
"optional": false
},
"computed": false,
"optional": false,
"params": [
{
"type": "ArrayPattern",
"span": {
"start": 2742,
"end": 2751,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 2743,
"end": 2744,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2746,
"end": 2747,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2749,
"end": 2750,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"typeAnn": null,
"typeParams": null
}
]
}
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2763,
"end": 2765,
"ctxt": 0
},
"value": "C2",
"optional": false
},
"declare": false,
"span": {
"start": 2757,
"end": 2853,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "Constructor",
"span": {
"start": 2786,
"end": 2803,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2786,
"end": 2797,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 2800,
"end": 2803,
"ctxt": 0
},
"stmts": []
},
"accessibility": null,
"isOptional": false
},
{
"type": "ClassMethod",
"span": {
"start": 2808,
"end": 2816,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2808,
"end": 2810,
"ctxt": 0
},
"value": "d3",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2808,
"end": 2816,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2813,
"end": 2816,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2821,
"end": 2829,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2821,
"end": 2823,
"ctxt": 0
},
"value": "d4",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2821,
"end": 2829,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2826,
"end": 2829,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2834,
"end": 2851,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2834,
"end": 2836,
"ctxt": 0
},
"value": "e0",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 2837,
"end": 2846,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 2837,
"end": 2846,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 2838,
"end": 2839,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2841,
"end": 2842,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2844,
"end": 2845,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2834,
"end": 2851,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2848,
"end": 2851,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2777,
"end": 2779,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2777,
"end": 2779,
"ctxt": 0
},
"value": "F2",
"optional": false
},
"typeArguments": null
}
]
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2861,
"end": 2863,
"ctxt": 0
},
"value": "C3",
"optional": false
},
"declare": false,
"span": {
"start": 2855,
"end": 2947,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassMethod",
"span": {
"start": 2884,
"end": 2901,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2884,
"end": 2886,
"ctxt": 0
},
"value": "d3",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 2887,
"end": 2896,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 2887,
"end": 2896,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 2888,
"end": 2889,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2891,
"end": 2892,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2894,
"end": 2895,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2884,
"end": 2901,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2898,
"end": 2901,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2906,
"end": 2923,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2906,
"end": 2908,
"ctxt": 0
},
"value": "d4",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 2909,
"end": 2918,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 2909,
"end": 2918,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2910,
"end": 2911,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2910,
"end": 2911,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2913,
"end": 2914,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2913,
"end": 2914,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2916,
"end": 2917,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2916,
"end": 2917,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2906,
"end": 2923,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2920,
"end": 2923,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2928,
"end": 2945,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2928,
"end": 2930,
"ctxt": 0
},
"value": "e0",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 2931,
"end": 2940,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 2931,
"end": 2940,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 2932,
"end": 2933,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2935,
"end": 2936,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2938,
"end": 2939,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2928,
"end": 2945,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2942,
"end": 2945,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2875,
"end": 2877,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2875,
"end": 2877,
"ctxt": 0
},
"value": "F2",
"optional": false
},
"typeArguments": null
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2959,
"end": 2961,
"ctxt": 0
},
"value": "d5",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 2962,
"end": 2985,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 2962,
"end": 2985,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 2962,
"end": 2968,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2963,
"end": 2964,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2963,
"end": 2964,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 2966,
"end": 2967,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2966,
"end": 2967,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 2971,
"end": 2985,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2973,
"end": 2974,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 2976,
"end": 2977,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2979,
"end": 2980,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 2982,
"end": 2983,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2950,
"end": 2990,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2987,
"end": 2990,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "ExpressionStatement",
"span": {
"start": 2991,
"end": 2996,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2991,
"end": 2995,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2991,
"end": 2993,
"ctxt": 0
},
"value": "d5",
"optional": false
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3373,
"end": 3375,
"ctxt": 0
},
"value": "e1",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3376,
"end": 3387,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 3376,
"end": 3387,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3377,
"end": 3378,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 3380,
"end": 3386,
"ctxt": 0
},
"value": "number",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 3364,
"end": 3392,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3389,
"end": 3392,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3432,
"end": 3434,
"ctxt": 0
},
"value": "e2",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3435,
"end": 3453,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 3435,
"end": 3453,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 3436,
"end": 3437,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 3436,
"end": 3437,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3438,
"end": 3453,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3440,
"end": 3453,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3442,
"end": 3451,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3442,
"end": 3443,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3443,
"end": 3451,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3445,
"end": 3451,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 3423,
"end": 3458,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3455,
"end": 3458,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3489,
"end": 3491,
"ctxt": 0
},
"value": "e3",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3492,
"end": 3511,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 3492,
"end": 3511,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 3493,
"end": 3494,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 3493,
"end": 3494,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3495,
"end": 3511,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3497,
"end": 3511,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3499,
"end": 3509,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3499,
"end": 3500,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": true,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3501,
"end": 3509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3503,
"end": 3509,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 3480,
"end": 3516,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3513,
"end": 3516,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3564,
"end": 3566,
"ctxt": 0
},
"value": "e4",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3567,
"end": 3592,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 3567,
"end": 3592,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3568,
"end": 3569,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 3571,
"end": 3590,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 3572,
"end": 3578,
"ctxt": 0
},
"value": "number",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 3579,
"end": 3585,
"ctxt": 0
},
"value": "string",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 3586,
"end": 3589,
"ctxt": 0
},
"value": "any",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 3555,
"end": 3597,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3594,
"end": 3597,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 3638,
"end": 3640,
"ctxt": 0
},
"value": "e5",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 3641,
"end": 3688,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ObjectPattern",
"span": {
"start": 3641,
"end": 3688,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3642,
"end": 3643,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 3645,
"end": 3654,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 3646,
"end": 3647,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 3649,
"end": 3650,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 3652,
"end": 3653,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3655,
"end": 3688,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 3657,
"end": 3688,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 3659,
"end": 3686,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 3659,
"end": 3660,
"ctxt": 0
},
"value": "x",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3660,
"end": 3686,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 3662,
"end": 3686,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 3663,
"end": 3669,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3663,
"end": 3669,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3671,
"end": 3677,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3671,
"end": 3677,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 3679,
"end": 3685,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 3679,
"end": 3685,
"ctxt": 0
},
"kind": "number"
}
}
]
}
},
"typeParams": null
}
]
}
}
}
}
],
"decorators": [],
"span": {
"start": 3629,
"end": 3693,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3690,
"end": 3693,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
],
"interpreter": null
}