swc/crates/swc_ecma_parser/tests/tsc/arrayLiterals2ES6.json
2022-04-05 12:46:35 +00:00

2318 lines
59 KiB
JSON

{
"type": "Script",
"span": {
"start": 280,
"end": 2561,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 280,
"end": 302,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 284,
"end": 302,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 284,
"end": 286,
"ctxt": 0
},
"value": "a0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 289,
"end": 302,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 294,
"end": 295,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 297,
"end": 298,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 300,
"end": 301,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 303,
"end": 330,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 307,
"end": 330,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 307,
"end": 309,
"ctxt": 0
},
"value": "a1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 312,
"end": 330,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 313,
"end": 320,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 322,
"end": 329,
"ctxt": 0
},
"value": "world",
"raw": "\"world\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 331,
"end": 363,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 335,
"end": 362,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 335,
"end": 337,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 340,
"end": 362,
"ctxt": 0
},
"elements": [
null,
null,
null,
{
"spread": {
"start": 347,
"end": 350,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 350,
"end": 352,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 354,
"end": 361,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 364,
"end": 384,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 368,
"end": 384,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 368,
"end": 370,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 373,
"end": 384,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": {
"start": 378,
"end": 381,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 381,
"end": 383,
"ctxt": 0
},
"value": "a0",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 385,
"end": 406,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 389,
"end": 405,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 389,
"end": 391,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 394,
"end": 405,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 395,
"end": 402,
"ctxt": 0
},
"params": [],
"body": {
"type": "NumericLiteral",
"span": {
"start": 401,
"end": 402,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 407,
"end": 427,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 411,
"end": 427,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 411,
"end": 413,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 416,
"end": 427,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 417,
"end": 420,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 420,
"end": 422,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
null
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1131,
"end": 1186,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1135,
"end": 1185,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1135,
"end": 1137,
"ctxt": 0
},
"value": "b0",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1137,
"end": 1154,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1139,
"end": 1154,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1140,
"end": 1143,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1140,
"end": 1143,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1145,
"end": 1148,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1145,
"end": 1148,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1150,
"end": 1153,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1150,
"end": 1153,
"ctxt": 0
},
"kind": "any"
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1157,
"end": 1185,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1158,
"end": 1167,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 1169,
"end": 1173,
"ctxt": 0
}
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1175,
"end": 1184,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1187,
"end": 1251,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1191,
"end": 1250,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1191,
"end": 1193,
"ctxt": 0
},
"value": "b1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1193,
"end": 1215,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1195,
"end": 1215,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1196,
"end": 1204,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1196,
"end": 1204,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1196,
"end": 1202,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1206,
"end": 1214,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1206,
"end": 1214,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1206,
"end": 1212,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1218,
"end": 1250,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1219,
"end": 1228,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1220,
"end": 1221,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1223,
"end": 1224,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1226,
"end": 1227,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1230,
"end": 1249,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1231,
"end": 1238,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1240,
"end": 1248,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1570,
"end": 1592,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1574,
"end": 1591,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1574,
"end": 1582,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1575,
"end": 1577,
"ctxt": 0
},
"value": "c0",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1579,
"end": 1581,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1585,
"end": 1591,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1586,
"end": 1587,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1589,
"end": 1590,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1631,
"end": 1659,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1635,
"end": 1658,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1635,
"end": 1643,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1636,
"end": 1638,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1640,
"end": 1642,
"ctxt": 0
},
"value": "c3",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1646,
"end": 1658,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1647,
"end": 1648,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1650,
"end": 1651,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1653,
"end": 1657,
"ctxt": 0
},
"value": true
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1998,
"end": 2025,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2002,
"end": 2024,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2002,
"end": 2006,
"ctxt": 0
},
"value": "temp",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2009,
"end": 2024,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2010,
"end": 2013,
"ctxt": 0
},
"value": "s",
"raw": "\"s\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2015,
"end": 2018,
"ctxt": 0
},
"value": "t",
"raw": "\"t\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2020,
"end": 2023,
"ctxt": 0
},
"value": "r",
"raw": "\"r\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2026,
"end": 2048,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2030,
"end": 2047,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2030,
"end": 2035,
"ctxt": 0
},
"value": "temp1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2038,
"end": 2047,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2039,
"end": 2040,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2042,
"end": 2043,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2045,
"end": 2046,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2049,
"end": 2116,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2053,
"end": 2115,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2053,
"end": 2058,
"ctxt": 0
},
"value": "temp2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2058,
"end": 2080,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2060,
"end": 2080,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2061,
"end": 2069,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2061,
"end": 2069,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2061,
"end": 2067,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2071,
"end": 2079,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2071,
"end": 2079,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2071,
"end": 2077,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2083,
"end": 2115,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2084,
"end": 2093,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2085,
"end": 2086,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2088,
"end": 2089,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2091,
"end": 2092,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2095,
"end": 2114,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2096,
"end": 2103,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2105,
"end": 2113,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2118,
"end": 2161,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2128,
"end": 2135,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2144,
"end": 2157,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2144,
"end": 2149,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2149,
"end": 2157,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2150,
"end": 2156,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2150,
"end": 2156,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2158,
"end": 2161,
"ctxt": 0
},
"body": []
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2162,
"end": 2213,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2172,
"end": 2180,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2189,
"end": 2209,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2189,
"end": 2194,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2194,
"end": 2209,
"ctxt": 0
},
"params": [
{
"type": "TsUnionType",
"span": {
"start": 2195,
"end": 2208,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 2195,
"end": 2201,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2195,
"end": 2201,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeReference",
"span": {
"start": 2202,
"end": 2208,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2202,
"end": 2208,
"ctxt": 0
},
"value": "String",
"optional": false
},
"typeParams": null
}
]
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2210,
"end": 2213,
"ctxt": 0
},
"body": []
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2214,
"end": 2244,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2218,
"end": 2243,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2218,
"end": 2220,
"ctxt": 0
},
"value": "d0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2223,
"end": 2243,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2224,
"end": 2225,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 2227,
"end": 2231,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 2233,
"end": 2236,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2236,
"end": 2240,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2284,
"end": 2303,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2288,
"end": 2302,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2288,
"end": 2290,
"ctxt": 0
},
"value": "d1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2293,
"end": 2302,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2294,
"end": 2297,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2297,
"end": 2301,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2336,
"end": 2366,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2340,
"end": 2365,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2340,
"end": 2342,
"ctxt": 0
},
"value": "d2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2342,
"end": 2352,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2344,
"end": 2352,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2344,
"end": 2350,
"ctxt": 0
},
"kind": "number"
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2355,
"end": 2365,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2356,
"end": 2359,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2359,
"end": 2364,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2367,
"end": 2396,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2371,
"end": 2395,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2371,
"end": 2373,
"ctxt": 0
},
"value": "d3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2373,
"end": 2382,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2375,
"end": 2382,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2375,
"end": 2382,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2385,
"end": 2395,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2386,
"end": 2389,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2389,
"end": 2394,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2397,
"end": 2436,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2401,
"end": 2435,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2401,
"end": 2403,
"ctxt": 0
},
"value": "d4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2403,
"end": 2413,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2405,
"end": 2413,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2405,
"end": 2413,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2416,
"end": 2435,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2417,
"end": 2420,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2420,
"end": 2424,
"ctxt": 0
},
"value": "temp",
"optional": false
}
},
{
"spread": {
"start": 2426,
"end": 2429,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2429,
"end": 2434,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2437,
"end": 2454,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2441,
"end": 2453,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2441,
"end": 2443,
"ctxt": 0
},
"value": "d5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2446,
"end": 2453,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2447,
"end": 2450,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2450,
"end": 2452,
"ctxt": 0
},
"value": "a2",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2455,
"end": 2472,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2459,
"end": 2471,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2459,
"end": 2461,
"ctxt": 0
},
"value": "d6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2464,
"end": 2471,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2465,
"end": 2468,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2468,
"end": 2470,
"ctxt": 0
},
"value": "a3",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2473,
"end": 2490,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2477,
"end": 2489,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2477,
"end": 2479,
"ctxt": 0
},
"value": "d7",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2482,
"end": 2489,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2483,
"end": 2486,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2486,
"end": 2488,
"ctxt": 0
},
"value": "a4",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2491,
"end": 2524,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2495,
"end": 2524,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2495,
"end": 2497,
"ctxt": 0
},
"value": "d8",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2497,
"end": 2509,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2499,
"end": 2509,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 2499,
"end": 2507,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2499,
"end": 2505,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2512,
"end": 2524,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2513,
"end": 2523,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2514,
"end": 2517,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2517,
"end": 2522,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2525,
"end": 2561,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2529,
"end": 2560,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2529,
"end": 2531,
"ctxt": 0
},
"value": "d9",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2534,
"end": 2560,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2535,
"end": 2545,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2536,
"end": 2539,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2539,
"end": 2544,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
},
{
"spread": {
"start": 2547,
"end": 2550,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2550,
"end": 2559,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2551,
"end": 2558,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}