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

2455 lines
62 KiB
JSON

{
"type": "Script",
"span": {
"start": 266,
"end": 2616,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 266,
"end": 287,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 270,
"end": 287,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 270,
"end": 272,
"ctxt": 0
},
"value": "a0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 275,
"end": 287,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 279,
"end": 280,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 282,
"end": 283,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 285,
"end": 286,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 288,
"end": 315,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 292,
"end": 315,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 292,
"end": 294,
"ctxt": 0
},
"value": "a1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 297,
"end": 315,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 298,
"end": 305,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 307,
"end": 314,
"ctxt": 0
},
"value": "world",
"raw": "\"world\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 316,
"end": 348,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 320,
"end": 347,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 320,
"end": 322,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 325,
"end": 347,
"ctxt": 0
},
"elements": [
null,
null,
null,
{
"spread": {
"start": 332,
"end": 335,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 335,
"end": 337,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 339,
"end": 346,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 349,
"end": 368,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 353,
"end": 368,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 353,
"end": 355,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 358,
"end": 368,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": {
"start": 362,
"end": 365,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 365,
"end": 367,
"ctxt": 0
},
"value": "a0",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 369,
"end": 390,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 373,
"end": 389,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 373,
"end": 375,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 378,
"end": 389,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 379,
"end": 386,
"ctxt": 0
},
"params": [],
"body": {
"type": "NumericLiteral",
"span": {
"start": 385,
"end": 386,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 391,
"end": 411,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 395,
"end": 411,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 395,
"end": 397,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 400,
"end": 411,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 401,
"end": 404,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 404,
"end": 406,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
null
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1115,
"end": 1170,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1119,
"end": 1169,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1119,
"end": 1121,
"ctxt": 0
},
"value": "b0",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1121,
"end": 1138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1123,
"end": 1138,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1124,
"end": 1127,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1124,
"end": 1127,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1129,
"end": 1132,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1129,
"end": 1132,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1134,
"end": 1137,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1134,
"end": 1137,
"ctxt": 0
},
"kind": "any"
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1141,
"end": 1169,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1142,
"end": 1151,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 1153,
"end": 1157,
"ctxt": 0
}
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1159,
"end": 1168,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1171,
"end": 1235,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1175,
"end": 1234,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1175,
"end": 1177,
"ctxt": 0
},
"value": "b1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1177,
"end": 1199,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1179,
"end": 1199,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1180,
"end": 1188,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1180,
"end": 1188,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1180,
"end": 1186,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1190,
"end": 1198,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1190,
"end": 1198,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1190,
"end": 1196,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1202,
"end": 1234,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1203,
"end": 1212,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1204,
"end": 1205,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1207,
"end": 1208,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1210,
"end": 1211,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1214,
"end": 1233,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1215,
"end": 1222,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1224,
"end": 1232,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1554,
"end": 1576,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1558,
"end": 1575,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1558,
"end": 1566,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1559,
"end": 1561,
"ctxt": 0
},
"value": "c0",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1563,
"end": 1565,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1569,
"end": 1575,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1570,
"end": 1571,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1573,
"end": 1574,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1615,
"end": 1643,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1619,
"end": 1642,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1619,
"end": 1627,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1620,
"end": 1622,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1624,
"end": 1626,
"ctxt": 0
},
"value": "c3",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1630,
"end": 1642,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1631,
"end": 1632,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1634,
"end": 1635,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1637,
"end": 1641,
"ctxt": 0
},
"value": true
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1982,
"end": 2009,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1986,
"end": 2008,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1986,
"end": 1990,
"ctxt": 0
},
"value": "temp",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1993,
"end": 2008,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1994,
"end": 1997,
"ctxt": 0
},
"value": "s",
"raw": "\"s\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1999,
"end": 2002,
"ctxt": 0
},
"value": "t",
"raw": "\"t\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2004,
"end": 2007,
"ctxt": 0
},
"value": "r",
"raw": "\"r\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2010,
"end": 2032,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2014,
"end": 2031,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2014,
"end": 2019,
"ctxt": 0
},
"value": "temp1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2022,
"end": 2031,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2023,
"end": 2024,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2026,
"end": 2027,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2029,
"end": 2030,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2033,
"end": 2100,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2037,
"end": 2099,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2037,
"end": 2042,
"ctxt": 0
},
"value": "temp2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2042,
"end": 2064,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2044,
"end": 2064,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2045,
"end": 2053,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2045,
"end": 2053,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2045,
"end": 2051,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2055,
"end": 2063,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2055,
"end": 2063,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2055,
"end": 2061,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2067,
"end": 2099,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2068,
"end": 2077,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2069,
"end": 2070,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2072,
"end": 2073,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2075,
"end": 2076,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2079,
"end": 2098,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2080,
"end": 2087,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2089,
"end": 2097,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2101,
"end": 2142,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2105,
"end": 2141,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2105,
"end": 2110,
"ctxt": 0
},
"value": "temp3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2113,
"end": 2141,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2114,
"end": 2123,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 2125,
"end": 2129,
"ctxt": 0
}
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2131,
"end": 2140,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2143,
"end": 2158,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2147,
"end": 2157,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2147,
"end": 2152,
"ctxt": 0
},
"value": "temp4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2155,
"end": 2157,
"ctxt": 0
},
"elements": []
},
"definite": false
}
]
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2160,
"end": 2203,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2170,
"end": 2177,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2186,
"end": 2199,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2186,
"end": 2191,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2191,
"end": 2199,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2192,
"end": 2198,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2192,
"end": 2198,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2200,
"end": 2203,
"ctxt": 0
},
"body": []
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2204,
"end": 2255,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2214,
"end": 2222,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2231,
"end": 2251,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2231,
"end": 2236,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2236,
"end": 2251,
"ctxt": 0
},
"params": [
{
"type": "TsUnionType",
"span": {
"start": 2237,
"end": 2250,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 2237,
"end": 2243,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2237,
"end": 2243,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeReference",
"span": {
"start": 2244,
"end": 2250,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2244,
"end": 2250,
"ctxt": 0
},
"value": "String",
"optional": false
},
"typeParams": null
}
]
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2252,
"end": 2255,
"ctxt": 0
},
"body": []
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2256,
"end": 2285,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2260,
"end": 2284,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2260,
"end": 2262,
"ctxt": 0
},
"value": "d0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2265,
"end": 2284,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2266,
"end": 2267,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 2269,
"end": 2273,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 2275,
"end": 2278,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2278,
"end": 2282,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2325,
"end": 2344,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2329,
"end": 2343,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2329,
"end": 2331,
"ctxt": 0
},
"value": "d1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2334,
"end": 2343,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2335,
"end": 2338,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2338,
"end": 2342,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2377,
"end": 2407,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2381,
"end": 2406,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2381,
"end": 2383,
"ctxt": 0
},
"value": "d2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2383,
"end": 2393,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2385,
"end": 2393,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2385,
"end": 2391,
"ctxt": 0
},
"kind": "number"
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2396,
"end": 2406,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2397,
"end": 2400,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2400,
"end": 2405,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2408,
"end": 2437,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2412,
"end": 2436,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2412,
"end": 2414,
"ctxt": 0
},
"value": "d3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2414,
"end": 2423,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2416,
"end": 2423,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2416,
"end": 2423,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2426,
"end": 2436,
"ctxt": 0
},
"elements": [
{
"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": 2477,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2442,
"end": 2476,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2442,
"end": 2444,
"ctxt": 0
},
"value": "d4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2444,
"end": 2454,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2446,
"end": 2454,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2446,
"end": 2454,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2457,
"end": 2476,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2458,
"end": 2461,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2461,
"end": 2465,
"ctxt": 0
},
"value": "temp",
"optional": false
}
},
{
"spread": {
"start": 2467,
"end": 2470,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2470,
"end": 2475,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2478,
"end": 2498,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2482,
"end": 2497,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2482,
"end": 2484,
"ctxt": 0
},
"value": "d5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2487,
"end": 2497,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2488,
"end": 2491,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2491,
"end": 2496,
"ctxt": 0
},
"value": "temp3",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2499,
"end": 2519,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2503,
"end": 2518,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2503,
"end": 2505,
"ctxt": 0
},
"value": "d6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2508,
"end": 2518,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2509,
"end": 2512,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2512,
"end": 2517,
"ctxt": 0
},
"value": "temp4",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2520,
"end": 2545,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2524,
"end": 2544,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2524,
"end": 2526,
"ctxt": 0
},
"value": "d7",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2529,
"end": 2544,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2530,
"end": 2533,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2533,
"end": 2543,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2534,
"end": 2537,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2537,
"end": 2542,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2546,
"end": 2579,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2550,
"end": 2579,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2550,
"end": 2552,
"ctxt": 0
},
"value": "d8",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2552,
"end": 2564,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2554,
"end": 2564,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 2554,
"end": 2562,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2554,
"end": 2560,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2567,
"end": 2579,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2568,
"end": 2578,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2569,
"end": 2572,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2572,
"end": 2577,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2580,
"end": 2616,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2584,
"end": 2615,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2584,
"end": 2586,
"ctxt": 0
},
"value": "d9",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2589,
"end": 2615,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2590,
"end": 2600,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2591,
"end": 2594,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2594,
"end": 2599,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
},
{
"spread": {
"start": 2602,
"end": 2605,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2605,
"end": 2614,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2606,
"end": 2613,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}