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

2490 lines
63 KiB
JSON

{
"type": "Script",
"span": {
"start": 16,
"end": 897,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 16,
"end": 51,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 20,
"end": 50,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 20,
"end": 37,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 22,
"end": 25,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 22,
"end": 25,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 27,
"end": 30,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 32,
"end": 35,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 40,
"end": 50,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 42,
"end": 45,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 47,
"end": 48,
"ctxt": 0
},
"value": 1.0
}
}
]
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 52,
"end": 80,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 52,
"end": 79,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 53,
"end": 78,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 53,
"end": 65,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 55,
"end": 58,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 55,
"end": 58,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 60,
"end": 63,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 60,
"end": 63,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 68,
"end": 78,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 70,
"end": 73,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 75,
"end": 76,
"ctxt": 0
},
"value": 2.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 81,
"end": 114,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 81,
"end": 113,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 82,
"end": 112,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 82,
"end": 99,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 84,
"end": 87,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 84,
"end": 87,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 89,
"end": 92,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 94,
"end": 97,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 102,
"end": 112,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 104,
"end": 107,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 109,
"end": 110,
"ctxt": 0
},
"value": 3.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 115,
"end": 148,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 115,
"end": 147,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 116,
"end": 146,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 116,
"end": 133,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 118,
"end": 121,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 123,
"end": 126,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 128,
"end": 131,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 128,
"end": 131,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 136,
"end": 146,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 138,
"end": 141,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 143,
"end": 144,
"ctxt": 0
},
"value": 4.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 149,
"end": 191,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 149,
"end": 190,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 150,
"end": 189,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 150,
"end": 167,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 152,
"end": 155,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 152,
"end": 155,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 157,
"end": 160,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 162,
"end": 165,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 170,
"end": 189,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 172,
"end": 175,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 177,
"end": 178,
"ctxt": 0
},
"value": 3.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 180,
"end": 183,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 185,
"end": 187,
"ctxt": 0
},
"value": 33.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 192,
"end": 234,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 192,
"end": 233,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 193,
"end": 232,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 193,
"end": 210,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 195,
"end": 198,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 200,
"end": 203,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 205,
"end": 208,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 205,
"end": 208,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 213,
"end": 232,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 215,
"end": 218,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 220,
"end": 221,
"ctxt": 0
},
"value": 4.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 223,
"end": 226,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 228,
"end": 230,
"ctxt": 0
},
"value": 44.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 235,
"end": 273,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 235,
"end": 272,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 236,
"end": 271,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 236,
"end": 258,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 238,
"end": 241,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 243,
"end": 246,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 248,
"end": 251,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 253,
"end": 256,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 261,
"end": 271,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 263,
"end": 266,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 268,
"end": 269,
"ctxt": 0
},
"value": 5.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 274,
"end": 321,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 274,
"end": 320,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 275,
"end": 319,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 275,
"end": 297,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 277,
"end": 280,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 282,
"end": 285,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 287,
"end": 290,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 292,
"end": 295,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 300,
"end": 319,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 302,
"end": 305,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 307,
"end": 308,
"ctxt": 0
},
"value": 6.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 310,
"end": 313,
"ctxt": 0
},
"value": "bar",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 315,
"end": 317,
"ctxt": 0
},
"value": 66.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 322,
"end": 360,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 322,
"end": 359,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 323,
"end": 358,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 323,
"end": 345,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 325,
"end": 328,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 330,
"end": 333,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 335,
"end": 338,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 340,
"end": 343,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 348,
"end": 358,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 350,
"end": 353,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 355,
"end": 356,
"ctxt": 0
},
"value": 7.0
}
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 362,
"end": 387,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 362,
"end": 386,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 362,
"end": 372,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 363,
"end": 366,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 368,
"end": 371,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 375,
"end": 386,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 376,
"end": 379,
"ctxt": 0
},
"value": 111.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 381,
"end": 385,
"ctxt": 0
},
"value": 1111.0
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 388,
"end": 413,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 388,
"end": 412,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 388,
"end": 398,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 389,
"end": 392,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 394,
"end": 397,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 401,
"end": 412,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 402,
"end": 405,
"ctxt": 0
},
"value": 222.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 407,
"end": 411,
"ctxt": 0
},
"value": 2222.0
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 414,
"end": 451,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 414,
"end": 450,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 414,
"end": 429,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 415,
"end": 418,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 420,
"end": 423,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 425,
"end": 428,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 432,
"end": 450,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 433,
"end": 436,
"ctxt": 0
},
"value": 333.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 438,
"end": 442,
"ctxt": 0
},
"value": 3333.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 444,
"end": 449,
"ctxt": 0
},
"value": 33333.0
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 452,
"end": 489,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 452,
"end": 488,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 452,
"end": 467,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 453,
"end": 456,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 458,
"end": 461,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 463,
"end": 466,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 470,
"end": 488,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 471,
"end": 474,
"ctxt": 0
},
"value": 333.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 476,
"end": 480,
"ctxt": 0
},
"value": 3333.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 482,
"end": 487,
"ctxt": 0
},
"value": 33333.0
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 490,
"end": 527,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 490,
"end": 526,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 490,
"end": 505,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 491,
"end": 494,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 496,
"end": 499,
"ctxt": 0
},
"value": "foo",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 501,
"end": 504,
"ctxt": 0
},
"value": "bar",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 508,
"end": 526,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 509,
"end": 512,
"ctxt": 0
},
"value": 444.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 514,
"end": 518,
"ctxt": 0
},
"value": 4444.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 520,
"end": 525,
"ctxt": 0
},
"value": 44444.0
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 545,
"end": 579,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 549,
"end": 578,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 549,
"end": 563,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 551,
"end": 555,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 551,
"end": 555,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 557,
"end": 561,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 557,
"end": 561,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 566,
"end": 578,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 568,
"end": 572,
"ctxt": 0
},
"value": "foo1",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 574,
"end": 576,
"ctxt": 0
},
"value": 10.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 580,
"end": 631,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 584,
"end": 630,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 584,
"end": 604,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 586,
"end": 590,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 586,
"end": 590,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 592,
"end": 596,
"ctxt": 0
},
"value": "bar2",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 598,
"end": 602,
"ctxt": 0
},
"value": "foo2",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 607,
"end": 630,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 609,
"end": 613,
"ctxt": 0
},
"value": "foo2",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 615,
"end": 617,
"ctxt": 0
},
"value": 20.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 619,
"end": 623,
"ctxt": 0
},
"value": "bar2",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 625,
"end": 628,
"ctxt": 0
},
"value": 220.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 632,
"end": 683,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 636,
"end": 682,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 636,
"end": 656,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 638,
"end": 642,
"ctxt": 0
},
"value": "bar3",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 644,
"end": 648,
"ctxt": 0
},
"value": "foo3",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 650,
"end": 654,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 650,
"end": 654,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 659,
"end": 682,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 661,
"end": 665,
"ctxt": 0
},
"value": "foo3",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 667,
"end": 669,
"ctxt": 0
},
"value": 30.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 671,
"end": 675,
"ctxt": 0
},
"value": "bar3",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 677,
"end": 680,
"ctxt": 0
},
"value": 330.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 684,
"end": 720,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 690,
"end": 719,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 690,
"end": 704,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 692,
"end": 696,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 692,
"end": 696,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"value": null
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 698,
"end": 702,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 698,
"end": 702,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 707,
"end": 719,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 709,
"end": 713,
"ctxt": 0
},
"value": "foo4",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 715,
"end": 717,
"ctxt": 0
},
"value": 40.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 721,
"end": 774,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 727,
"end": 773,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 727,
"end": 747,
"ctxt": 0
},
"properties": [
{
"type": "AssignmentPatternProperty",
"span": {
"start": 729,
"end": 733,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 729,
"end": 733,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"value": null
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 735,
"end": 739,
"ctxt": 0
},
"value": "bar5",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 741,
"end": 745,
"ctxt": 0
},
"value": "foo5",
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 750,
"end": 773,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 752,
"end": 756,
"ctxt": 0
},
"value": "foo5",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 758,
"end": 760,
"ctxt": 0
},
"value": 50.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 762,
"end": 766,
"ctxt": 0
},
"value": "bar5",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 768,
"end": 771,
"ctxt": 0
},
"value": 550.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 775,
"end": 828,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 781,
"end": 827,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 781,
"end": 801,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 783,
"end": 787,
"ctxt": 0
},
"value": "bar6",
"optional": false
},
"value": {
"type": "Identifier",
"span": {
"start": 789,
"end": 793,
"ctxt": 0
},
"value": "foo6",
"optional": false,
"typeAnnotation": null
}
},
{
"type": "AssignmentPatternProperty",
"span": {
"start": 795,
"end": 799,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 795,
"end": 799,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"value": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 804,
"end": 827,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 806,
"end": 810,
"ctxt": 0
},
"value": "foo6",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 812,
"end": 814,
"ctxt": 0
},
"value": 60.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 816,
"end": 820,
"ctxt": 0
},
"value": "bar6",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 822,
"end": 825,
"ctxt": 0
},
"value": 660.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 830,
"end": 862,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 834,
"end": 861,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 834,
"end": 848,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 835,
"end": 840,
"ctxt": 0
},
"value": "blah1",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 842,
"end": 847,
"ctxt": 0
},
"value": "blah1",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 851,
"end": 861,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 852,
"end": 855,
"ctxt": 0
},
"value": 111.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 857,
"end": 860,
"ctxt": 0
},
"value": 222.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 863,
"end": 897,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 869,
"end": 896,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 869,
"end": 883,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 870,
"end": 875,
"ctxt": 0
},
"value": "blah2",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 877,
"end": 882,
"ctxt": 0
},
"value": "blah2",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 886,
"end": 896,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 887,
"end": 890,
"ctxt": 0
},
"value": 333.0
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 892,
"end": 895,
"ctxt": 0
},
"value": 444.0
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}