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

1821 lines
63 KiB
JSON

{
"type": "Script",
"span": {
"start": 18,
"end": 749,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 18,
"end": 500,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 18,
"end": 499,
"ctxt": 0
},
"callee": {
"type": "ParenthesisExpression",
"span": {
"start": 18,
"end": 497,
"ctxt": 0
},
"expression": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 19,
"end": 496,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 31,
"end": 496,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 37,
"end": 48,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 41,
"end": 47,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 41,
"end": 42,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 42,
"end": 47,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 44,
"end": 47,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 54,
"end": 65,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 58,
"end": 64,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 58,
"end": 60,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 63,
"end": 64,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 70,
"end": 81,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 74,
"end": 80,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 74,
"end": 76,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 79,
"end": 80,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 86,
"end": 99,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 92,
"end": 98,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 92,
"end": 94,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 97,
"end": 98,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 105,
"end": 116,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 109,
"end": 115,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 109,
"end": 111,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 114,
"end": 115,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 121,
"end": 132,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 125,
"end": 131,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 125,
"end": 127,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 130,
"end": 131,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 137,
"end": 150,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 143,
"end": 149,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 143,
"end": 145,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 148,
"end": 149,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 156,
"end": 175,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 160,
"end": 166,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 160,
"end": 162,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 165,
"end": 166,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 168,
"end": 174,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 168,
"end": 170,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 173,
"end": 174,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 180,
"end": 199,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 184,
"end": 190,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 184,
"end": 186,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 189,
"end": 190,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 192,
"end": 198,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 192,
"end": 194,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 197,
"end": 198,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 204,
"end": 225,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 210,
"end": 216,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 210,
"end": 212,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 215,
"end": 216,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 218,
"end": 224,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 218,
"end": 220,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 223,
"end": 224,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 231,
"end": 258,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 235,
"end": 257,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 235,
"end": 253,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 237,
"end": 239,
"ctxt": 0
},
"value": "p1",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 241,
"end": 243,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 245,
"end": 247,
"ctxt": 0
},
"value": "p2",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 249,
"end": 251,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 256,
"end": 257,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 263,
"end": 290,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 267,
"end": 289,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 267,
"end": 285,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 269,
"end": 271,
"ctxt": 0
},
"value": "p1",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 273,
"end": 275,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 277,
"end": 279,
"ctxt": 0
},
"value": "p2",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 281,
"end": 283,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 288,
"end": 289,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 295,
"end": 324,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 301,
"end": 323,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 301,
"end": 319,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 303,
"end": 305,
"ctxt": 0
},
"value": "p1",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 307,
"end": 309,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 311,
"end": 313,
"ctxt": 0
},
"value": "p2",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 315,
"end": 317,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 322,
"end": 323,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "ForStatement",
"span": {
"start": 330,
"end": 379,
"ctxt": 0
},
"init": {
"type": "VariableDeclaration",
"span": {
"start": 335,
"end": 355,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 339,
"end": 346,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 339,
"end": 341,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 344,
"end": 346,
"ctxt": 0
},
"properties": []
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 348,
"end": 355,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 348,
"end": 350,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 353,
"end": 355,
"ctxt": 0
},
"properties": []
},
"definite": false
}
]
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 357,
"end": 362,
"ctxt": 0
},
"value": false
},
"update": {
"type": "UnaryExpression",
"span": {
"start": 364,
"end": 370,
"ctxt": 0
},
"operator": "void",
"argument": {
"type": "NumericLiteral",
"span": {
"start": 369,
"end": 370,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
},
"body": {
"type": "BlockStatement",
"span": {
"start": 372,
"end": 379,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 394,
"end": 395,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 396,
"end": 402,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 396,
"end": 402,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 396,
"end": 398,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 401,
"end": 402,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 404,
"end": 410,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 404,
"end": 410,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 404,
"end": 406,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 409,
"end": 410,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 412,
"end": 428,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 412,
"end": 428,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 412,
"end": 424,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 414,
"end": 415,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": {
"type": "AssignmentPattern",
"span": {
"start": 417,
"end": 423,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 417,
"end": 419,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 422,
"end": 423,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 427,
"end": 428,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 385,
"end": 494,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 430,
"end": 494,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 440,
"end": 488,
"ctxt": 0
},
"argument": {
"type": "ArrowFunctionExpression",
"span": {
"start": 447,
"end": 487,
"ctxt": 0
},
"params": [
{
"type": "AssignmentPattern",
"span": {
"start": 448,
"end": 454,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 448,
"end": 450,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 453,
"end": 454,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 456,
"end": 462,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 456,
"end": 458,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 461,
"end": 462,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 464,
"end": 481,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 464,
"end": 477,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 466,
"end": 467,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": {
"type": "AssignmentPattern",
"span": {
"start": 469,
"end": 475,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 469,
"end": 471,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 474,
"end": 475,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 480,
"end": 481,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
],
"body": {
"type": "Identifier",
"span": {
"start": 486,
"end": 487,
"ctxt": 0
},
"value": "a",
"optional": false
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 502,
"end": 749,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 502,
"end": 748,
"ctxt": 0
},
"callee": {
"type": "ParenthesisExpression",
"span": {
"start": 502,
"end": 746,
"ctxt": 0
},
"expression": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 503,
"end": 745,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 515,
"end": 745,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 521,
"end": 547,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 527,
"end": 546,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 527,
"end": 529,
"ctxt": 0
},
"value": "ns",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 529,
"end": 541,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 531,
"end": 541,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 531,
"end": 539,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 531,
"end": 537,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 544,
"end": 546,
"ctxt": 0
},
"elements": []
},
"definite": false
}
]
},
{
"type": "ForOfStatement",
"span": {
"start": 553,
"end": 579,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 558,
"end": 564,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 562,
"end": 564,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 562,
"end": 564,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 568,
"end": 570,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 572,
"end": 579,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 585,
"end": 611,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 590,
"end": 596,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 594,
"end": 596,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 594,
"end": 596,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 600,
"end": 602,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 604,
"end": 611,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 617,
"end": 645,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 622,
"end": 630,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 628,
"end": 630,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 628,
"end": 630,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 634,
"end": 636,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 638,
"end": 645,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 651,
"end": 677,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 656,
"end": 662,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 660,
"end": 662,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 660,
"end": 662,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 666,
"end": 668,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 670,
"end": 677,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 683,
"end": 709,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 688,
"end": 694,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 692,
"end": 694,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 692,
"end": 694,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 698,
"end": 700,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 702,
"end": 709,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 715,
"end": 743,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 720,
"end": 728,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 726,
"end": 728,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 726,
"end": 728,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 732,
"end": 734,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 736,
"end": 743,
"ctxt": 0
},
"stmts": []
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}