mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
2790 lines
83 KiB
JSON
2790 lines
83 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 181,
|
|
"end": 2451,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 181,
|
|
"end": 247,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 185,
|
|
"end": 247,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 185,
|
|
"end": 193,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "AssignmentPatternProperty",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "AssignmentPatternProperty",
|
|
"span": {
|
|
"start": 190,
|
|
"end": 192,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 190,
|
|
"end": 192,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a2",
|
|
"optional": false
|
|
},
|
|
"value": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 193,
|
|
"end": 221,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 195,
|
|
"end": 221,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 197,
|
|
"end": 208,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 197,
|
|
"end": 199,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 199,
|
|
"end": 207,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 201,
|
|
"end": 207,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
},
|
|
"typeParams": null
|
|
},
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 209,
|
|
"end": 219,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 209,
|
|
"end": 211,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a2",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 219,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 213,
|
|
"end": 219,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "string"
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 224,
|
|
"end": 247,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 226,
|
|
"end": 228,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 230,
|
|
"end": 232,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10.0,
|
|
"raw": "10"
|
|
}
|
|
},
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 234,
|
|
"end": 236,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a2",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 238,
|
|
"end": 245,
|
|
"ctxt": 0
|
|
},
|
|
"value": "world",
|
|
"raw": "\"world\""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 248,
|
|
"end": 325,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 252,
|
|
"end": 324,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 252,
|
|
"end": 268,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 253,
|
|
"end": 255,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a3",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 257,
|
|
"end": 263,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 258,
|
|
"end": 262,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 259,
|
|
"end": 261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a4",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 265,
|
|
"end": 267,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a5",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 268,
|
|
"end": 299,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTupleType",
|
|
"span": {
|
|
"start": 270,
|
|
"end": 299,
|
|
"ctxt": 0
|
|
},
|
|
"elemTypes": [
|
|
{
|
|
"type": "TsTupleElement",
|
|
"span": {
|
|
"start": 271,
|
|
"end": 277,
|
|
"ctxt": 0
|
|
},
|
|
"label": null,
|
|
"ty": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 271,
|
|
"end": 277,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
},
|
|
{
|
|
"type": "TsTupleElement",
|
|
"span": {
|
|
"start": 279,
|
|
"end": 289,
|
|
"ctxt": 0
|
|
},
|
|
"label": null,
|
|
"ty": {
|
|
"type": "TsTupleType",
|
|
"span": {
|
|
"start": 279,
|
|
"end": 289,
|
|
"ctxt": 0
|
|
},
|
|
"elemTypes": [
|
|
{
|
|
"type": "TsTupleElement",
|
|
"span": {
|
|
"start": 280,
|
|
"end": 288,
|
|
"ctxt": 0
|
|
},
|
|
"label": null,
|
|
"ty": {
|
|
"type": "TsTupleType",
|
|
"span": {
|
|
"start": 280,
|
|
"end": 288,
|
|
"ctxt": 0
|
|
},
|
|
"elemTypes": [
|
|
{
|
|
"type": "TsTupleElement",
|
|
"span": {
|
|
"start": 281,
|
|
"end": 287,
|
|
"ctxt": 0
|
|
},
|
|
"label": null,
|
|
"ty": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 281,
|
|
"end": 287,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "TsTupleElement",
|
|
"span": {
|
|
"start": 291,
|
|
"end": 298,
|
|
"ctxt": 0
|
|
},
|
|
"label": null,
|
|
"ty": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 291,
|
|
"end": 298,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "boolean"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 302,
|
|
"end": 324,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 303,
|
|
"end": 304,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 306,
|
|
"end": 317,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 307,
|
|
"end": 316,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 308,
|
|
"end": 315,
|
|
"ctxt": 0
|
|
},
|
|
"value": "hello",
|
|
"raw": "\"hello\""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 319,
|
|
"end": 323,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 540,
|
|
"end": 608,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 544,
|
|
"end": 607,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 544,
|
|
"end": 580,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValuePatternProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 546,
|
|
"end": 548,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 550,
|
|
"end": 577,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 550,
|
|
"end": 557,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "AssignmentPatternProperty",
|
|
"span": {
|
|
"start": 552,
|
|
"end": 555,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 552,
|
|
"end": 555,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b11",
|
|
"optional": false
|
|
},
|
|
"value": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 560,
|
|
"end": 577,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 562,
|
|
"end": 565,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b11",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 567,
|
|
"end": 575,
|
|
"ctxt": 0
|
|
},
|
|
"value": "string",
|
|
"raw": "\"string\""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"typeAnnotation": null
|
|
}
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 583,
|
|
"end": 607,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 585,
|
|
"end": 587,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 589,
|
|
"end": 605,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 591,
|
|
"end": 594,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b11",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 596,
|
|
"end": 603,
|
|
"ctxt": 0
|
|
},
|
|
"value": "world",
|
|
"raw": "\"world\""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 609,
|
|
"end": 646,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 613,
|
|
"end": 645,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 613,
|
|
"end": 617,
|
|
"ctxt": 0
|
|
},
|
|
"value": "temp",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 620,
|
|
"end": 645,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 622,
|
|
"end": 624,
|
|
"ctxt": 0
|
|
},
|
|
"value": "t1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 626,
|
|
"end": 630,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 632,
|
|
"end": 634,
|
|
"ctxt": 0
|
|
},
|
|
"value": "t2",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 636,
|
|
"end": 643,
|
|
"ctxt": 0
|
|
},
|
|
"value": "false",
|
|
"raw": "\"false\""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 647,
|
|
"end": 723,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 651,
|
|
"end": 722,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 651,
|
|
"end": 681,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 652,
|
|
"end": 658,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 652,
|
|
"end": 654,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b2",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 657,
|
|
"end": 658,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
},
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 660,
|
|
"end": 669,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 660,
|
|
"end": 662,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b3",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 665,
|
|
"end": 669,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 671,
|
|
"end": 680,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 671,
|
|
"end": 673,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b4",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 676,
|
|
"end": 680,
|
|
"ctxt": 0
|
|
},
|
|
"value": "temp",
|
|
"optional": false
|
|
},
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 684,
|
|
"end": 722,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 685,
|
|
"end": 686,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 688,
|
|
"end": 693,
|
|
"ctxt": 0
|
|
},
|
|
"value": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 695,
|
|
"end": 721,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 697,
|
|
"end": 699,
|
|
"ctxt": 0
|
|
},
|
|
"value": "t1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 701,
|
|
"end": 706,
|
|
"ctxt": 0
|
|
},
|
|
"value": false
|
|
}
|
|
},
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 708,
|
|
"end": 710,
|
|
"ctxt": 0
|
|
},
|
|
"value": "t2",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 712,
|
|
"end": 719,
|
|
"ctxt": 0
|
|
},
|
|
"value": "hello",
|
|
"raw": "\"hello\""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 724,
|
|
"end": 795,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 728,
|
|
"end": 794,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 728,
|
|
"end": 758,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 729,
|
|
"end": 735,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 729,
|
|
"end": 731,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b5",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 734,
|
|
"end": 735,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
},
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 737,
|
|
"end": 746,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 737,
|
|
"end": 739,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b6",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 742,
|
|
"end": 746,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 748,
|
|
"end": 757,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 748,
|
|
"end": 750,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b7",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 753,
|
|
"end": 757,
|
|
"ctxt": 0
|
|
},
|
|
"value": "temp",
|
|
"optional": false
|
|
},
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 761,
|
|
"end": 794,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 762,
|
|
"end": 771,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 773,
|
|
"end": 782,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 784,
|
|
"end": 793,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1033,
|
|
"end": 1055,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1037,
|
|
"end": 1054,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 1037,
|
|
"end": 1044,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "RestElement",
|
|
"span": {
|
|
"start": 1038,
|
|
"end": 1043,
|
|
"ctxt": 0
|
|
},
|
|
"rest": {
|
|
"start": 1038,
|
|
"end": 1041,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1041,
|
|
"end": 1043,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c1",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 1047,
|
|
"end": 1054,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1048,
|
|
"end": 1049,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1050,
|
|
"end": 1051,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1052,
|
|
"end": 1053,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1057,
|
|
"end": 1089,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1061,
|
|
"end": 1088,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 1061,
|
|
"end": 1068,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "RestElement",
|
|
"span": {
|
|
"start": 1062,
|
|
"end": 1067,
|
|
"ctxt": 0
|
|
},
|
|
"rest": {
|
|
"start": 1062,
|
|
"end": 1065,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1065,
|
|
"end": 1067,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c2",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 1071,
|
|
"end": 1088,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1072,
|
|
"end": 1073,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1074,
|
|
"end": 1075,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1076,
|
|
"end": 1077,
|
|
"ctxt": 0
|
|
},
|
|
"value": 3.0,
|
|
"raw": "3"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 1079,
|
|
"end": 1087,
|
|
"ctxt": 0
|
|
},
|
|
"value": "string",
|
|
"raw": "\"string\""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1420,
|
|
"end": 1446,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1424,
|
|
"end": 1446,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 1424,
|
|
"end": 1431,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1425,
|
|
"end": 1427,
|
|
"ctxt": 0
|
|
},
|
|
"value": "d1",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1428,
|
|
"end": 1430,
|
|
"ctxt": 0
|
|
},
|
|
"value": "d2",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 1434,
|
|
"end": 1446,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1435,
|
|
"end": 1436,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 1437,
|
|
"end": 1445,
|
|
"ctxt": 0
|
|
},
|
|
"value": "string",
|
|
"raw": "\"string\""
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1695,
|
|
"end": 1726,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1699,
|
|
"end": 1726,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1699,
|
|
"end": 1704,
|
|
"ctxt": 0
|
|
},
|
|
"value": "temp1",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 1707,
|
|
"end": 1726,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 1708,
|
|
"end": 1712,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 1714,
|
|
"end": 1719,
|
|
"ctxt": 0
|
|
},
|
|
"value": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 1721,
|
|
"end": 1725,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1727,
|
|
"end": 1766,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1731,
|
|
"end": 1765,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 1731,
|
|
"end": 1739,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1732,
|
|
"end": 1734,
|
|
"ctxt": 0
|
|
},
|
|
"value": "d3",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1736,
|
|
"end": 1738,
|
|
"ctxt": 0
|
|
},
|
|
"value": "d4",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 1742,
|
|
"end": 1765,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1743,
|
|
"end": 1744,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 1746,
|
|
"end": 1754,
|
|
"ctxt": 0
|
|
},
|
|
"value": "string",
|
|
"raw": "\"string\""
|
|
}
|
|
},
|
|
{
|
|
"spread": {
|
|
"start": 1756,
|
|
"end": 1759,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1759,
|
|
"end": 1764,
|
|
"ctxt": 0
|
|
},
|
|
"value": "temp1",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1811,
|
|
"end": 1891,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1815,
|
|
"end": 1890,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 1815,
|
|
"end": 1856,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValuePatternProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1816,
|
|
"end": 1817,
|
|
"ctxt": 0
|
|
},
|
|
"value": "e",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 1819,
|
|
"end": 1855,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1820,
|
|
"end": 1822,
|
|
"ctxt": 0
|
|
},
|
|
"value": "e1",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1824,
|
|
"end": 1826,
|
|
"ctxt": 0
|
|
},
|
|
"value": "e2",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 1828,
|
|
"end": 1854,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1828,
|
|
"end": 1830,
|
|
"ctxt": 0
|
|
},
|
|
"value": "e3",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 1833,
|
|
"end": 1854,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1835,
|
|
"end": 1837,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1839,
|
|
"end": 1843,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1000.0,
|
|
"raw": "1000"
|
|
}
|
|
},
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1845,
|
|
"end": 1847,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b4",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1849,
|
|
"end": 1852,
|
|
"ctxt": 0
|
|
},
|
|
"value": 200.0,
|
|
"raw": "200"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 1859,
|
|
"end": 1890,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1861,
|
|
"end": 1862,
|
|
"ctxt": 0
|
|
},
|
|
"value": "e",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 1864,
|
|
"end": 1888,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1865,
|
|
"end": 1866,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1868,
|
|
"end": 1869,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 1871,
|
|
"end": 1887,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1873,
|
|
"end": 1875,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1877,
|
|
"end": 1878,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
},
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1880,
|
|
"end": 1882,
|
|
"ctxt": 0
|
|
},
|
|
"value": "b4",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1884,
|
|
"end": 1885,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1893,
|
|
"end": 1965,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1897,
|
|
"end": 1964,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 1897,
|
|
"end": 1930,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValuePatternProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1898,
|
|
"end": 1899,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayPattern",
|
|
"span": {
|
|
"start": 1901,
|
|
"end": 1929,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1902,
|
|
"end": 1904,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f1",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1906,
|
|
"end": 1908,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f2",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
{
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 1910,
|
|
"end": 1924,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValuePatternProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1912,
|
|
"end": 1914,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f3",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1916,
|
|
"end": 1918,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f4",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
},
|
|
{
|
|
"type": "AssignmentPatternProperty",
|
|
"span": {
|
|
"start": 1920,
|
|
"end": 1922,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1920,
|
|
"end": 1922,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f5",
|
|
"optional": false
|
|
},
|
|
"value": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 1933,
|
|
"end": 1964,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1935,
|
|
"end": 1936,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 1938,
|
|
"end": 1962,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1939,
|
|
"end": 1940,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1942,
|
|
"end": 1943,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 1945,
|
|
"end": 1961,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1947,
|
|
"end": 1949,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f3",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1951,
|
|
"end": 1952,
|
|
"ctxt": 0
|
|
},
|
|
"value": 4.0,
|
|
"raw": "4"
|
|
}
|
|
},
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1954,
|
|
"end": 1956,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f5",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 1958,
|
|
"end": 1959,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 2287,
|
|
"end": 2367,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 2291,
|
|
"end": 2366,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 2291,
|
|
"end": 2320,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValuePatternProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2292,
|
|
"end": 2293,
|
|
"ctxt": 0
|
|
},
|
|
"value": "g",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 2295,
|
|
"end": 2319,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "AssignmentPatternProperty",
|
|
"span": {
|
|
"start": 2296,
|
|
"end": 2318,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2296,
|
|
"end": 2298,
|
|
"ctxt": 0
|
|
},
|
|
"value": "g1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 2301,
|
|
"end": 2318,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2302,
|
|
"end": 2311,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NullLiteral",
|
|
"span": {
|
|
"start": 2313,
|
|
"end": 2317,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2320,
|
|
"end": 2342,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 2322,
|
|
"end": 2342,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 2324,
|
|
"end": 2340,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2324,
|
|
"end": 2325,
|
|
"ctxt": 0
|
|
},
|
|
"value": "g",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2325,
|
|
"end": 2340,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 2327,
|
|
"end": 2340,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 2329,
|
|
"end": 2338,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2329,
|
|
"end": 2331,
|
|
"ctxt": 0
|
|
},
|
|
"value": "g1",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2331,
|
|
"end": 2338,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsArrayType",
|
|
"span": {
|
|
"start": 2333,
|
|
"end": 2338,
|
|
"ctxt": 0
|
|
},
|
|
"elemType": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 2333,
|
|
"end": 2336,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 2345,
|
|
"end": 2366,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2347,
|
|
"end": 2348,
|
|
"ctxt": 0
|
|
},
|
|
"value": "g",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 2350,
|
|
"end": 2364,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2352,
|
|
"end": 2354,
|
|
"ctxt": 0
|
|
},
|
|
"value": "g1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 2356,
|
|
"end": 2362,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 2357,
|
|
"end": 2358,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 2360,
|
|
"end": 2361,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 2368,
|
|
"end": 2451,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 2372,
|
|
"end": 2450,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 2372,
|
|
"end": 2401,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValuePatternProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2373,
|
|
"end": 2374,
|
|
"ctxt": 0
|
|
},
|
|
"value": "h",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ObjectPattern",
|
|
"span": {
|
|
"start": 2376,
|
|
"end": 2400,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "AssignmentPatternProperty",
|
|
"span": {
|
|
"start": 2377,
|
|
"end": 2399,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2377,
|
|
"end": 2379,
|
|
"ctxt": 0
|
|
},
|
|
"value": "h1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 2382,
|
|
"end": 2399,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2383,
|
|
"end": 2392,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NullLiteral",
|
|
"span": {
|
|
"start": 2394,
|
|
"end": 2398,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
}
|
|
}
|
|
],
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2401,
|
|
"end": 2426,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 2403,
|
|
"end": 2426,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 2405,
|
|
"end": 2424,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2405,
|
|
"end": 2406,
|
|
"ctxt": 0
|
|
},
|
|
"value": "h",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2406,
|
|
"end": 2424,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeLiteral",
|
|
"span": {
|
|
"start": 2408,
|
|
"end": 2424,
|
|
"ctxt": 0
|
|
},
|
|
"members": [
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 2410,
|
|
"end": 2422,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2410,
|
|
"end": 2412,
|
|
"ctxt": 0
|
|
},
|
|
"value": "h1",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2412,
|
|
"end": 2422,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsArrayType",
|
|
"span": {
|
|
"start": 2414,
|
|
"end": 2422,
|
|
"ctxt": 0
|
|
},
|
|
"elemType": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 2414,
|
|
"end": 2420,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 2429,
|
|
"end": 2450,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2431,
|
|
"end": 2432,
|
|
"ctxt": 0
|
|
},
|
|
"value": "h",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ObjectExpression",
|
|
"span": {
|
|
"start": 2434,
|
|
"end": 2448,
|
|
"ctxt": 0
|
|
},
|
|
"properties": [
|
|
{
|
|
"type": "KeyValueProperty",
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2436,
|
|
"end": 2438,
|
|
"ctxt": 0
|
|
},
|
|
"value": "h1",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 2440,
|
|
"end": 2446,
|
|
"ctxt": 0
|
|
},
|
|
"elements": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 2441,
|
|
"end": 2442,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 2444,
|
|
"end": 2445,
|
|
"ctxt": 0
|
|
},
|
|
"value": 2.0,
|
|
"raw": "2"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|