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

2084 lines
54 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 1031,
"end": 2113,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 1031,
"end": 1061,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1035,
"end": 1060,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1035,
"end": 1043,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1036,
"end": 1038,
"ctxt": 0
},
"value": "a0",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1040,
"end": 1042,
"ctxt": 0
},
"value": "a1",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1043,
"end": 1048,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1045,
"end": 1048,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": {
"type": "Identifier",
"span": {
"start": 1051,
"end": 1060,
"ctxt": 0
},
"value": "undefined",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1062,
"end": 1104,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1066,
"end": 1103,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1066,
"end": 1086,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 1067,
"end": 1077,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 1067,
"end": 1069,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "BooleanLiteral",
"span": {
"start": 1072,
"end": 1077,
"ctxt": 0
},
"value": false
},
"typeAnnotation": null
},
{
"type": "AssignmentPattern",
"span": {
"start": 1079,
"end": 1085,
"ctxt": 0
},
"left": {
"type": "Identifier",
"span": {
"start": 1079,
"end": 1081,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1084,
"end": 1085,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1086,
"end": 1091,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1088,
"end": 1091,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": {
"type": "Identifier",
"span": {
"start": 1094,
"end": 1103,
"ctxt": 0
},
"value": "undefined",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1448,
"end": 1477,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1452,
"end": 1476,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1452,
"end": 1464,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1453,
"end": 1455,
"ctxt": 0
},
"value": "b0",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1457,
"end": 1459,
"ctxt": 0
},
"value": "b1",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1461,
"end": 1463,
"ctxt": 0
},
"value": "b2",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1467,
"end": 1476,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1468,
"end": 1469,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1471,
"end": 1472,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1474,
"end": 1475,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1478,
"end": 1540,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1482,
"end": 1539,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1482,
"end": 1494,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1483,
"end": 1485,
"ctxt": 0
},
"value": "b3",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1487,
"end": 1489,
"ctxt": 0
},
"value": "b4",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1491,
"end": 1493,
"ctxt": 0
},
"value": "b5",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1494,
"end": 1520,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1496,
"end": 1520,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1497,
"end": 1503,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1497,
"end": 1503,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1505,
"end": 1511,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1505,
"end": 1511,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1513,
"end": 1519,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1513,
"end": 1519,
"ctxt": 0
},
"kind": "string"
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1523,
"end": 1539,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1524,
"end": 1525,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1527,
"end": 1528,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1530,
"end": 1538,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
},
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1551,
"end": 1554,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1542,
"end": 1582,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1557,
"end": 1582,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1563,
"end": 1580,
"ctxt": 0
},
"argument": {
"type": "ArrayExpression",
"span": {
"start": 1570,
"end": 1579,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1571,
"end": 1572,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1574,
"end": 1575,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1577,
"end": 1578,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 1584,
"end": 1605,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1588,
"end": 1604,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1588,
"end": 1596,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1589,
"end": 1591,
"ctxt": 0
},
"value": "b6",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1593,
"end": 1595,
"ctxt": 0
},
"value": "b7",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1599,
"end": 1604,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1599,
"end": 1602,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1606,
"end": 1626,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1610,
"end": 1625,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1610,
"end": 1617,
"ctxt": 0
},
"elements": [
{
"type": "RestElement",
"span": {
"start": 1611,
"end": 1616,
"ctxt": 0
},
"rest": {
"start": 1611,
"end": 1614,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1614,
"end": 1616,
"ctxt": 0
},
"value": "b8",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 1620,
"end": 1625,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 1620,
"end": 1623,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1746,
"end": 1764,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1750,
"end": 1764,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1750,
"end": 1754,
"ctxt": 0
},
"value": "temp",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1757,
"end": 1764,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1758,
"end": 1759,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1760,
"end": 1761,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1762,
"end": 1763,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1765,
"end": 1790,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1769,
"end": 1789,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1769,
"end": 1777,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1770,
"end": 1772,
"ctxt": 0
},
"value": "c0",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1774,
"end": 1776,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1780,
"end": 1789,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 1781,
"end": 1784,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1784,
"end": 1788,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1791,
"end": 1805,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1795,
"end": 1804,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1795,
"end": 1799,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1796,
"end": 1798,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1802,
"end": 1804,
"ctxt": 0
},
"elements": []
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1806,
"end": 1849,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1810,
"end": 1849,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1810,
"end": 1830,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1811,
"end": 1817,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1812,
"end": 1816,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1813,
"end": 1815,
"ctxt": 0
},
"value": "c3",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
{
"type": "ArrayPattern",
"span": {
"start": 1819,
"end": 1829,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1820,
"end": 1828,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1821,
"end": 1827,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1822,
"end": 1826,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1823,
"end": 1825,
"ctxt": 0
},
"value": "c4",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1833,
"end": 1849,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1834,
"end": 1838,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1835,
"end": 1837,
"ctxt": 0
},
"elements": []
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1840,
"end": 1848,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1841,
"end": 1847,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1842,
"end": 1846,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1843,
"end": 1845,
"ctxt": 0
},
"elements": []
}
}
]
}
}
]
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1850,
"end": 1907,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1854,
"end": 1906,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1854,
"end": 1864,
"ctxt": 0
},
"elements": [
{
"type": "ArrayPattern",
"span": {
"start": 1855,
"end": 1859,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1856,
"end": 1858,
"ctxt": 0
},
"value": "c5",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1861,
"end": 1863,
"ctxt": 0
},
"value": "c6",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1864,
"end": 1892,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1866,
"end": 1892,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1867,
"end": 1882,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsTupleType",
"span": {
"start": 1867,
"end": 1882,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1868,
"end": 1881,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsUnionType",
"span": {
"start": 1868,
"end": 1881,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 1868,
"end": 1874,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 1875,
"end": 1881,
"ctxt": 0
},
"kind": "number"
}
]
}
}
]
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1884,
"end": 1891,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1884,
"end": 1891,
"ctxt": 0
},
"kind": "boolean"
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1895,
"end": 1906,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1896,
"end": 1899,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1897,
"end": 1898,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1901,
"end": 1905,
"ctxt": 0
},
"value": true
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1908,
"end": 1931,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1912,
"end": 1930,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1912,
"end": 1918,
"ctxt": 0
},
"elements": [
null,
{
"type": "Identifier",
"span": {
"start": 1915,
"end": 1917,
"ctxt": 0
},
"value": "c7",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1921,
"end": 1930,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1922,
"end": 1923,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1925,
"end": 1926,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1928,
"end": 1929,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1932,
"end": 1960,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1936,
"end": 1959,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1936,
"end": 1944,
"ctxt": 0
},
"elements": [
null,
null,
null,
{
"type": "Identifier",
"span": {
"start": 1941,
"end": 1943,
"ctxt": 0
},
"value": "c8",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1947,
"end": 1959,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1948,
"end": 1949,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1951,
"end": 1952,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1954,
"end": 1955,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1957,
"end": 1958,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1961,
"end": 1989,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1965,
"end": 1988,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1965,
"end": 1973,
"ctxt": 0
},
"elements": [
null,
null,
null,
{
"type": "Identifier",
"span": {
"start": 1970,
"end": 1972,
"ctxt": 0
},
"value": "c9",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1976,
"end": 1988,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1977,
"end": 1978,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1980,
"end": 1981,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1983,
"end": 1984,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1986,
"end": 1987,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1990,
"end": 2030,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1994,
"end": 2029,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1994,
"end": 2005,
"ctxt": 0
},
"elements": [
null,
null,
null,
{
"type": "RestElement",
"span": {
"start": 1998,
"end": 2004,
"ctxt": 0
},
"rest": {
"start": 1998,
"end": 2001,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2001,
"end": 2004,
"ctxt": 0
},
"value": "c10",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2008,
"end": 2029,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2009,
"end": 2010,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2012,
"end": 2013,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2015,
"end": 2016,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2018,
"end": 2019,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2021,
"end": 2028,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2031,
"end": 2073,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2035,
"end": 2072,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 2035,
"end": 2053,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 2036,
"end": 2039,
"ctxt": 0
},
"value": "c11",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2041,
"end": 2044,
"ctxt": 0
},
"value": "c12",
"optional": false,
"typeAnnotation": null
},
{
"type": "RestElement",
"span": {
"start": 2046,
"end": 2052,
"ctxt": 0
},
"rest": {
"start": 2046,
"end": 2049,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2049,
"end": 2052,
"ctxt": 0
},
"value": "c13",
"optional": false,
"typeAnnotation": null
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2056,
"end": 2072,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2057,
"end": 2058,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2060,
"end": 2061,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2063,
"end": 2071,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2074,
"end": 2113,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2078,
"end": 2112,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 2078,
"end": 2093,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 2079,
"end": 2082,
"ctxt": 0
},
"value": "c14",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2084,
"end": 2087,
"ctxt": 0
},
"value": "c15",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 2089,
"end": 2092,
"ctxt": 0
},
"value": "c16",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2096,
"end": 2112,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2097,
"end": 2098,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2100,
"end": 2101,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2103,
"end": 2111,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}