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

2753 lines
70 KiB
JSON

{
"type": "Script",
"span": {
"start": 18,
"end": 856,
"ctxt": 0
},
"body": [
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 27,
"end": 30,
"ctxt": 0
},
"value": "f00",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 31,
"end": 37,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 31,
"end": 37,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 32,
"end": 33,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 35,
"end": 36,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 18,
"end": 41,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 39,
"end": 41,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 51,
"end": 54,
"ctxt": 0
},
"value": "f01",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 55,
"end": 66,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 55,
"end": 66,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 55,
"end": 61,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 56,
"end": 57,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 59,
"end": 60,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 64,
"end": 66,
"ctxt": 0
},
"elements": []
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 42,
"end": 70,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 68,
"end": 70,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 80,
"end": 83,
"ctxt": 0
},
"value": "f02",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 84,
"end": 96,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 84,
"end": 96,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 84,
"end": 90,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 85,
"end": 86,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 88,
"end": 89,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 93,
"end": 96,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 94,
"end": 95,
"ctxt": 0
},
"value": 1.0
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 71,
"end": 100,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 98,
"end": 100,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 110,
"end": 113,
"ctxt": 0
},
"value": "f03",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 114,
"end": 133,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 114,
"end": 133,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 114,
"end": 120,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 115,
"end": 116,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 118,
"end": 119,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 123,
"end": 133,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 124,
"end": 125,
"ctxt": 0
},
"value": 1.0
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 127,
"end": 132,
"ctxt": 0
},
"value": "foo",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 101,
"end": 137,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 135,
"end": 137,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 148,
"end": 151,
"ctxt": 0
},
"value": "f10",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 152,
"end": 162,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 152,
"end": 162,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 153,
"end": 158,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 153,
"end": 154,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 157,
"end": 158,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 160,
"end": 161,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 139,
"end": 166,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 164,
"end": 166,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 176,
"end": 179,
"ctxt": 0
},
"value": "f11",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 180,
"end": 195,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 180,
"end": 195,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 180,
"end": 190,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 181,
"end": 186,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 181,
"end": 182,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 185,
"end": 186,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 188,
"end": 189,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 193,
"end": 195,
"ctxt": 0
},
"elements": []
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 167,
"end": 199,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 197,
"end": 199,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 209,
"end": 212,
"ctxt": 0
},
"value": "f12",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 213,
"end": 229,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 213,
"end": 229,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 213,
"end": 223,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 214,
"end": 219,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 214,
"end": 215,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 221,
"end": 222,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 226,
"end": 229,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 227,
"end": 228,
"ctxt": 0
},
"value": 1.0
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 200,
"end": 233,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 231,
"end": 233,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 243,
"end": 246,
"ctxt": 0
},
"value": "f13",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 247,
"end": 270,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 247,
"end": 270,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 247,
"end": 257,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 248,
"end": 253,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 248,
"end": 249,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 252,
"end": 253,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 255,
"end": 256,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 260,
"end": 270,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 261,
"end": 262,
"ctxt": 0
},
"value": 1.0
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 264,
"end": 269,
"ctxt": 0
},
"value": "foo",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 234,
"end": 274,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 272,
"end": 274,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 285,
"end": 288,
"ctxt": 0
},
"value": "f20",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 289,
"end": 307,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 289,
"end": 307,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 290,
"end": 295,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 290,
"end": 291,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 294,
"end": 295,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 297,
"end": 306,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 297,
"end": 298,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 301,
"end": 306,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 276,
"end": 311,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 309,
"end": 311,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 321,
"end": 324,
"ctxt": 0
},
"value": "f21",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 325,
"end": 348,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 325,
"end": 348,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 325,
"end": 343,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 326,
"end": 331,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 326,
"end": 327,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 330,
"end": 331,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 333,
"end": 342,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 333,
"end": 334,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 337,
"end": 342,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 346,
"end": 348,
"ctxt": 0
},
"elements": []
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 312,
"end": 352,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 350,
"end": 352,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 362,
"end": 365,
"ctxt": 0
},
"value": "f22",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 366,
"end": 390,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 366,
"end": 390,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 366,
"end": 384,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 367,
"end": 372,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 367,
"end": 368,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 371,
"end": 372,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 374,
"end": 383,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 374,
"end": 375,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 378,
"end": 383,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 387,
"end": 390,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 388,
"end": 389,
"ctxt": 0
},
"value": 1.0
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 353,
"end": 394,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 392,
"end": 394,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 404,
"end": 407,
"ctxt": 0
},
"value": "f23",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 408,
"end": 439,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 408,
"end": 439,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 408,
"end": 426,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 409,
"end": 414,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 409,
"end": 410,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 413,
"end": 414,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 416,
"end": 425,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 416,
"end": 417,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 420,
"end": 425,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 429,
"end": 439,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 430,
"end": 431,
"ctxt": 0
},
"value": 1.0
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 433,
"end": 438,
"ctxt": 0
},
"value": "foo",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 395,
"end": 443,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 441,
"end": 443,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 445,
"end": 482,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 459,
"end": 481,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 459,
"end": 461,
"ctxt": 0
},
"value": "nx",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 461,
"end": 481,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 463,
"end": 481,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 463,
"end": 469,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 472,
"end": 481,
"ctxt": 0
},
"kind": "undefined"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 483,
"end": 520,
"ctxt": 0
},
"kind": "const",
"declare": true,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 497,
"end": 519,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 497,
"end": 499,
"ctxt": 0
},
"value": "sx",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 499,
"end": 519,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 501,
"end": 519,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 501,
"end": 507,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 510,
"end": 519,
"ctxt": 0
},
"kind": "undefined"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 531,
"end": 534,
"ctxt": 0
},
"value": "f30",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 535,
"end": 553,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 535,
"end": 553,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 536,
"end": 541,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 536,
"end": 537,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 540,
"end": 541,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 543,
"end": 552,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 543,
"end": 544,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 547,
"end": 552,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 522,
"end": 557,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 555,
"end": 557,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 567,
"end": 570,
"ctxt": 0
},
"value": "f31",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 571,
"end": 594,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 571,
"end": 594,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 571,
"end": 589,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 572,
"end": 577,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 572,
"end": 573,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 576,
"end": 577,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 579,
"end": 588,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 579,
"end": 580,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 583,
"end": 588,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 592,
"end": 594,
"ctxt": 0
},
"elements": []
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 558,
"end": 598,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 596,
"end": 598,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 608,
"end": 611,
"ctxt": 0
},
"value": "f32",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 612,
"end": 637,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 612,
"end": 637,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 612,
"end": 630,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 613,
"end": 618,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 613,
"end": 614,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 617,
"end": 618,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 620,
"end": 629,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 620,
"end": 621,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 624,
"end": 629,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 633,
"end": 637,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 634,
"end": 636,
"ctxt": 0
},
"value": "nx",
"optional": false
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 599,
"end": 641,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 639,
"end": 641,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 651,
"end": 654,
"ctxt": 0
},
"value": "f33",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 655,
"end": 684,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 655,
"end": 684,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 655,
"end": 673,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 656,
"end": 661,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 656,
"end": 657,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 660,
"end": 661,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 663,
"end": 672,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 663,
"end": 664,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 667,
"end": 672,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 676,
"end": 684,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 677,
"end": 679,
"ctxt": 0
},
"value": "nx",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 681,
"end": 683,
"ctxt": 0
},
"value": "sx",
"optional": false
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 642,
"end": 688,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 686,
"end": 688,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 699,
"end": 702,
"ctxt": 0
},
"value": "f40",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 703,
"end": 721,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "ArrayPattern",
"span": {
"start": 703,
"end": 721,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 704,
"end": 709,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 704,
"end": 705,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 708,
"end": 709,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 711,
"end": 720,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 711,
"end": 712,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 715,
"end": 720,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 690,
"end": 725,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 723,
"end": 725,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 735,
"end": 738,
"ctxt": 0
},
"value": "f41",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 739,
"end": 762,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 739,
"end": 762,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 739,
"end": 757,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 740,
"end": 745,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 740,
"end": 741,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 744,
"end": 745,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 747,
"end": 756,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 747,
"end": 748,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 751,
"end": 756,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 760,
"end": 762,
"ctxt": 0
},
"elements": []
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 726,
"end": 766,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 764,
"end": 766,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 776,
"end": 779,
"ctxt": 0
},
"value": "f42",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 780,
"end": 805,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 780,
"end": 805,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 780,
"end": 798,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 781,
"end": 786,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 781,
"end": 782,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 785,
"end": 786,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 788,
"end": 797,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 788,
"end": 789,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 792,
"end": 797,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 801,
"end": 805,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 802,
"end": 804,
"ctxt": 0
},
"value": "sx",
"optional": false
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 767,
"end": 809,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 807,
"end": 809,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 819,
"end": 822,
"ctxt": 0
},
"value": "f43",
"optional": false
},
"declare": false,
"params": [
{
"type": "Parameter",
"span": {
"start": 823,
"end": 852,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "AssignmentPattern",
"span": {
"start": 823,
"end": 852,
"ctxt": 0
},
"left": {
"type": "ArrayPattern",
"span": {
"start": 823,
"end": 841,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 824,
"end": 829,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 824,
"end": 825,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 828,
"end": 829,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 831,
"end": 840,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 831,
"end": 832,
"ctxt": 0
},
"value": "y",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "StringLiteral",
"span": {
"start": 835,
"end": 840,
"ctxt": 0
},
"value": "bar",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 844,
"end": 852,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 845,
"end": 847,
"ctxt": 0
},
"value": "sx",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 849,
"end": 851,
"ctxt": 0
},
"value": "nx",
"optional": false
}
}
]
},
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 810,
"end": 856,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 854,
"end": 856,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
],
"interpreter": null
}