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

1820 lines
63 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 17,
"end": 748,
"ctxt": 0
},
"body": [
{
"type": "ExpressionStatement",
"span": {
"start": 17,
"end": 499,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 17,
"end": 498,
"ctxt": 0
},
"callee": {
"type": "ParenthesisExpression",
"span": {
"start": 17,
"end": 496,
"ctxt": 0
},
"expression": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 18,
"end": 495,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 30,
"end": 495,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 36,
"end": 47,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 40,
"end": 46,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 40,
"end": 41,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 41,
"end": 46,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 43,
"end": 46,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 53,
"end": 64,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 57,
"end": 63,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 57,
"end": 59,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 62,
"end": 63,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 69,
"end": 80,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 73,
"end": 79,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 73,
"end": 75,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 78,
"end": 79,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 85,
"end": 98,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 91,
"end": 97,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 91,
"end": 93,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 96,
"end": 97,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 104,
"end": 115,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 108,
"end": 114,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 108,
"end": 110,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 120,
"end": 131,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 124,
"end": 130,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 124,
"end": 126,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 129,
"end": 130,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 136,
"end": 149,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 142,
"end": 148,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 142,
"end": 144,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 147,
"end": 148,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 155,
"end": 174,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 159,
"end": 165,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 159,
"end": 161,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 164,
"end": 165,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 167,
"end": 173,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 167,
"end": 169,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 172,
"end": 173,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 179,
"end": 198,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 183,
"end": 189,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 183,
"end": 185,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 188,
"end": 189,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 191,
"end": 197,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 191,
"end": 193,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 196,
"end": 197,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 203,
"end": 224,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 209,
"end": 215,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 209,
"end": 211,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 214,
"end": 215,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 217,
"end": 223,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 217,
"end": 219,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 222,
"end": 223,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 230,
"end": 257,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 234,
"end": 256,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 234,
"end": 252,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 236,
"end": 238,
"ctxt": 0
},
"value": "p1",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 240,
"end": 242,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 244,
"end": 246,
"ctxt": 0
},
"value": "p2",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 248,
"end": 250,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 255,
"end": 256,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 262,
"end": 289,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 266,
"end": 288,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 266,
"end": 284,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 268,
"end": 270,
"ctxt": 0
},
"value": "p1",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 272,
"end": 274,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 276,
"end": 278,
"ctxt": 0
},
"value": "p2",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 280,
"end": 282,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 287,
"end": 288,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 294,
"end": 323,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 300,
"end": 322,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 300,
"end": 318,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 302,
"end": 304,
"ctxt": 0
},
"value": "p1",
"optional": false
},
"value": {
"type": "ObjectPattern",
"span": {
"start": 306,
"end": 308,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
}
},
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 310,
"end": 312,
"ctxt": 0
},
"value": "p2",
"optional": false
},
"value": {
"type": "ArrayPattern",
"span": {
"start": 314,
"end": 316,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 321,
"end": 322,
"ctxt": 0
},
"value": "a",
"optional": false
},
"definite": false
}
]
},
{
"type": "ForStatement",
"span": {
"start": 329,
"end": 378,
"ctxt": 0
},
"init": {
"type": "VariableDeclaration",
"span": {
"start": 334,
"end": 354,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 338,
"end": 345,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 338,
"end": 340,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 343,
"end": 345,
"ctxt": 0
},
"properties": []
},
"definite": false
},
{
"type": "VariableDeclarator",
"span": {
"start": 347,
"end": 354,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 347,
"end": 349,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 352,
"end": 354,
"ctxt": 0
},
"properties": []
},
"definite": false
}
]
},
"test": {
"type": "BooleanLiteral",
"span": {
"start": 356,
"end": 361,
"ctxt": 0
},
"value": false
},
"update": {
"type": "UnaryExpression",
"span": {
"start": 363,
"end": 369,
"ctxt": 0
},
"operator": "void",
"argument": {
"type": "NumericLiteral",
"span": {
"start": 368,
"end": 369,
"ctxt": 0
},
"value": 0.0
}
},
"body": {
"type": "BlockStatement",
"span": {
"start": 371,
"end": 378,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 393,
"end": 394,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 395,
"end": 401,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 395,
"end": 401,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 395,
"end": 397,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 400,
"end": 401,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 403,
"end": 409,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 403,
"end": 409,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 403,
"end": 405,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 408,
"end": 409,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
},
{
"type": "Parameter",
"span": {
"start": 411,
"end": 427,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 411,
"end": 427,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 411,
"end": 423,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 413,
"end": 414,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": {
"type": "AssignmentPattern",
"span": {
"start": 416,
"end": 422,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 416,
"end": 418,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 421,
"end": 422,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 426,
"end": 427,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 384,
"end": 493,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 429,
"end": 493,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 439,
"end": 487,
"ctxt": 0
},
"argument": {
"type": "ArrowFunctionExpression",
"span": {
"start": 446,
"end": 486,
"ctxt": 0
},
"params": [
{
"type": "AssignmentPattern",
"span": {
"start": 447,
"end": 453,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 447,
"end": 449,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 452,
"end": 453,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 455,
"end": 461,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 455,
"end": 457,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 460,
"end": 461,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 463,
"end": 480,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 463,
"end": 476,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 465,
"end": 466,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": {
"type": "AssignmentPattern",
"span": {
"start": 468,
"end": 474,
"ctxt": 0
},
"left": {
"type": "ObjectPattern",
"span": {
"start": 468,
"end": 470,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 473,
"end": 474,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 479,
"end": 480,
"ctxt": 0
},
"value": "a",
"optional": false
},
"typeAnnotation": null
}
],
"body": {
"type": "Identifier",
"span": {
"start": 485,
"end": 486,
"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": 501,
"end": 748,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 501,
"end": 747,
"ctxt": 0
},
"callee": {
"type": "ParenthesisExpression",
"span": {
"start": 501,
"end": 745,
"ctxt": 0
},
"expression": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 502,
"end": 744,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 514,
"end": 744,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 520,
"end": 546,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 526,
"end": 545,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 526,
"end": 528,
"ctxt": 0
},
"value": "ns",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 528,
"end": 540,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 530,
"end": 540,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 530,
"end": 538,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 530,
"end": 536,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 543,
"end": 545,
"ctxt": 0
},
"elements": []
},
"definite": false
}
]
},
{
"type": "ForOfStatement",
"span": {
"start": 552,
"end": 578,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 557,
"end": 563,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 561,
"end": 563,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 561,
"end": 563,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 567,
"end": 569,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 571,
"end": 578,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 584,
"end": 610,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 589,
"end": 595,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 593,
"end": 595,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 593,
"end": 595,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 599,
"end": 601,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 603,
"end": 610,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 616,
"end": 644,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 621,
"end": 629,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 627,
"end": 629,
"ctxt": 0
},
"id": {
"type": "ObjectPattern",
"span": {
"start": 627,
"end": 629,
"ctxt": 0
},
"properties": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 633,
"end": 635,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 637,
"end": 644,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 650,
"end": 676,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 655,
"end": 661,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 659,
"end": 661,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 659,
"end": 661,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 665,
"end": 667,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 669,
"end": 676,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 682,
"end": 708,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 687,
"end": 693,
"ctxt": 0
},
"kind": "let",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 691,
"end": 693,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 691,
"end": 693,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 697,
"end": 699,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 701,
"end": 708,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "ForOfStatement",
"span": {
"start": 714,
"end": 742,
"ctxt": 0
},
"await": null,
"left": {
"type": "VariableDeclaration",
"span": {
"start": 719,
"end": 727,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 725,
"end": 727,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 725,
"end": 727,
"ctxt": 0
},
"elements": [],
"optional": false,
"typeAnnotation": null
},
"init": null,
"definite": false
}
]
},
"right": {
"type": "Identifier",
"span": {
"start": 731,
"end": 733,
"ctxt": 0
},
"value": "ns",
"optional": false
},
"body": {
"type": "BlockStatement",
"span": {
"start": 735,
"end": 742,
"ctxt": 0
},
"stmts": []
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
},
"arguments": [],
"typeArguments": null
}
}
],
"interpreter": null
}