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

2318 lines
59 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 281,
"end": 2562,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 281,
"end": 303,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 285,
"end": 303,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 285,
"end": 287,
"ctxt": 0
},
"value": "a0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 290,
"end": 303,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 295,
"end": 296,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 298,
"end": 299,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 301,
"end": 302,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 304,
"end": 331,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 308,
"end": 331,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 308,
"end": 310,
"ctxt": 0
},
"value": "a1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 313,
"end": 331,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 314,
"end": 321,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 323,
"end": 330,
"ctxt": 0
},
"value": "world",
"raw": "\"world\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 332,
"end": 364,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 336,
"end": 363,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 336,
"end": 338,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 341,
"end": 363,
"ctxt": 0
},
"elements": [
null,
null,
null,
{
"spread": {
"start": 348,
"end": 351,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 351,
"end": 353,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 355,
"end": 362,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 365,
"end": 385,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 369,
"end": 385,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 369,
"end": 371,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 374,
"end": 385,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": {
"start": 379,
"end": 382,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 382,
"end": 384,
"ctxt": 0
},
"value": "a0",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 386,
"end": 407,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 390,
"end": 406,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 390,
"end": 392,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 395,
"end": 406,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 396,
"end": 403,
"ctxt": 0
},
"params": [],
"body": {
"type": "NumericLiteral",
"span": {
"start": 402,
"end": 403,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 408,
"end": 428,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 412,
"end": 428,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 412,
"end": 414,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 417,
"end": 428,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 418,
"end": 421,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 421,
"end": 423,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
null
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1132,
"end": 1187,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1136,
"end": 1186,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1136,
"end": 1138,
"ctxt": 0
},
"value": "b0",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1138,
"end": 1155,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1140,
"end": 1155,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1141,
"end": 1144,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1141,
"end": 1144,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1146,
"end": 1149,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1146,
"end": 1149,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1151,
"end": 1154,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1151,
"end": 1154,
"ctxt": 0
},
"kind": "any"
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1158,
"end": 1186,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1159,
"end": 1168,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 1170,
"end": 1174,
"ctxt": 0
}
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1176,
"end": 1185,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1188,
"end": 1252,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1192,
"end": 1251,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1192,
"end": 1194,
"ctxt": 0
},
"value": "b1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1194,
"end": 1216,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1196,
"end": 1216,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1197,
"end": 1205,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1197,
"end": 1205,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1197,
"end": 1203,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1207,
"end": 1215,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1207,
"end": 1215,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1207,
"end": 1213,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1219,
"end": 1251,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1220,
"end": 1229,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1221,
"end": 1222,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1224,
"end": 1225,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1227,
"end": 1228,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1231,
"end": 1250,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1232,
"end": 1239,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1241,
"end": 1249,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1571,
"end": 1593,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1575,
"end": 1592,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1575,
"end": 1583,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1576,
"end": 1578,
"ctxt": 0
},
"value": "c0",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1580,
"end": 1582,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1586,
"end": 1592,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1587,
"end": 1588,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1590,
"end": 1591,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1632,
"end": 1660,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1636,
"end": 1659,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1636,
"end": 1644,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1637,
"end": 1639,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1641,
"end": 1643,
"ctxt": 0
},
"value": "c3",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1647,
"end": 1659,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1648,
"end": 1649,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1651,
"end": 1652,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1654,
"end": 1658,
"ctxt": 0
},
"value": true
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1999,
"end": 2026,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2003,
"end": 2025,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2003,
"end": 2007,
"ctxt": 0
},
"value": "temp",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2010,
"end": 2025,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2011,
"end": 2014,
"ctxt": 0
},
"value": "s",
"raw": "\"s\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2016,
"end": 2019,
"ctxt": 0
},
"value": "t",
"raw": "\"t\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2021,
"end": 2024,
"ctxt": 0
},
"value": "r",
"raw": "\"r\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2027,
"end": 2049,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2031,
"end": 2048,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2031,
"end": 2036,
"ctxt": 0
},
"value": "temp1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2039,
"end": 2048,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2040,
"end": 2041,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2043,
"end": 2044,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2046,
"end": 2047,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2050,
"end": 2117,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2054,
"end": 2116,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2054,
"end": 2059,
"ctxt": 0
},
"value": "temp2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2059,
"end": 2081,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2061,
"end": 2081,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2062,
"end": 2070,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2062,
"end": 2070,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2062,
"end": 2068,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2072,
"end": 2080,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2072,
"end": 2080,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2072,
"end": 2078,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2084,
"end": 2116,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2085,
"end": 2094,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2086,
"end": 2087,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2089,
"end": 2090,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2092,
"end": 2093,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2096,
"end": 2115,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2097,
"end": 2104,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2106,
"end": 2114,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2119,
"end": 2162,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2129,
"end": 2136,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2145,
"end": 2158,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2145,
"end": 2150,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2150,
"end": 2158,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2151,
"end": 2157,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2151,
"end": 2157,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2159,
"end": 2162,
"ctxt": 0
},
"body": []
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2163,
"end": 2214,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2173,
"end": 2181,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2190,
"end": 2210,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2190,
"end": 2195,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2195,
"end": 2210,
"ctxt": 0
},
"params": [
{
"type": "TsUnionType",
"span": {
"start": 2196,
"end": 2209,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 2196,
"end": 2202,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2196,
"end": 2202,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeReference",
"span": {
"start": 2203,
"end": 2209,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2203,
"end": 2209,
"ctxt": 0
},
"value": "String",
"optional": false
},
"typeParams": null
}
]
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2211,
"end": 2214,
"ctxt": 0
},
"body": []
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2215,
"end": 2245,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2219,
"end": 2244,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2219,
"end": 2221,
"ctxt": 0
},
"value": "d0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2224,
"end": 2244,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2225,
"end": 2226,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 2228,
"end": 2232,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 2234,
"end": 2237,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2237,
"end": 2241,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2285,
"end": 2304,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2289,
"end": 2303,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2289,
"end": 2291,
"ctxt": 0
},
"value": "d1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2294,
"end": 2303,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2295,
"end": 2298,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2298,
"end": 2302,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2337,
"end": 2367,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2341,
"end": 2366,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2341,
"end": 2343,
"ctxt": 0
},
"value": "d2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2343,
"end": 2353,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2345,
"end": 2353,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2345,
"end": 2351,
"ctxt": 0
},
"kind": "number"
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2356,
"end": 2366,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2357,
"end": 2360,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2360,
"end": 2365,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2368,
"end": 2397,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2372,
"end": 2396,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2372,
"end": 2374,
"ctxt": 0
},
"value": "d3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2374,
"end": 2383,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2376,
"end": 2383,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2376,
"end": 2383,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2386,
"end": 2396,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2387,
"end": 2390,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2390,
"end": 2395,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2398,
"end": 2437,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2402,
"end": 2436,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2402,
"end": 2404,
"ctxt": 0
},
"value": "d4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2404,
"end": 2414,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2406,
"end": 2414,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2406,
"end": 2414,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2417,
"end": 2436,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2418,
"end": 2421,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2421,
"end": 2425,
"ctxt": 0
},
"value": "temp",
"optional": false
}
},
{
"spread": {
"start": 2427,
"end": 2430,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2430,
"end": 2435,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2438,
"end": 2455,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2442,
"end": 2454,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2442,
"end": 2444,
"ctxt": 0
},
"value": "d5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2447,
"end": 2454,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2448,
"end": 2451,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2451,
"end": 2453,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2456,
"end": 2473,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2460,
"end": 2472,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2460,
"end": 2462,
"ctxt": 0
},
"value": "d6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2465,
"end": 2472,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2466,
"end": 2469,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2469,
"end": 2471,
"ctxt": 0
},
"value": "a3",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2474,
"end": 2491,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2478,
"end": 2490,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2478,
"end": 2480,
"ctxt": 0
},
"value": "d7",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2483,
"end": 2490,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2484,
"end": 2487,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2487,
"end": 2489,
"ctxt": 0
},
"value": "a4",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2492,
"end": 2525,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2496,
"end": 2525,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2496,
"end": 2498,
"ctxt": 0
},
"value": "d8",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2498,
"end": 2510,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2500,
"end": 2510,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 2500,
"end": 2508,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2500,
"end": 2506,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2513,
"end": 2525,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2514,
"end": 2524,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2515,
"end": 2518,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2518,
"end": 2523,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2526,
"end": 2562,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2530,
"end": 2561,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2530,
"end": 2532,
"ctxt": 0
},
"value": "d9",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2535,
"end": 2561,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2536,
"end": 2546,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2537,
"end": 2540,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2540,
"end": 2545,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
},
{
"spread": {
"start": 2548,
"end": 2551,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2551,
"end": 2560,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2552,
"end": 2559,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}