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

2455 lines
62 KiB
JSON

{
"type": "Script",
"span": {
"start": 265,
"end": 2615,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 265,
"end": 286,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 269,
"end": 286,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 269,
"end": 271,
"ctxt": 0
},
"value": "a0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 274,
"end": 286,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 278,
"end": 279,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 281,
"end": 282,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 284,
"end": 285,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 287,
"end": 314,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 291,
"end": 314,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 291,
"end": 293,
"ctxt": 0
},
"value": "a1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 296,
"end": 314,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 297,
"end": 304,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 306,
"end": 313,
"ctxt": 0
},
"value": "world",
"raw": "\"world\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 315,
"end": 347,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 319,
"end": 346,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 319,
"end": 321,
"ctxt": 0
},
"value": "a2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 324,
"end": 346,
"ctxt": 0
},
"elements": [
null,
null,
null,
{
"spread": {
"start": 331,
"end": 334,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 334,
"end": 336,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 338,
"end": 345,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 348,
"end": 367,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 352,
"end": 367,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 352,
"end": 354,
"ctxt": 0
},
"value": "a3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 357,
"end": 367,
"ctxt": 0
},
"elements": [
null,
null,
{
"spread": {
"start": 361,
"end": 364,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 364,
"end": 366,
"ctxt": 0
},
"value": "a0",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 368,
"end": 389,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 372,
"end": 388,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 372,
"end": 374,
"ctxt": 0
},
"value": "a4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 377,
"end": 388,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 378,
"end": 385,
"ctxt": 0
},
"params": [],
"body": {
"type": "NumericLiteral",
"span": {
"start": 384,
"end": 385,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 390,
"end": 410,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 394,
"end": 410,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 394,
"end": 396,
"ctxt": 0
},
"value": "a5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 399,
"end": 410,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 400,
"end": 403,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 403,
"end": 405,
"ctxt": 0
},
"value": "a0",
"optional": false
}
},
null
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1114,
"end": 1169,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1118,
"end": 1168,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1118,
"end": 1120,
"ctxt": 0
},
"value": "b0",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1120,
"end": 1137,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1122,
"end": 1137,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1123,
"end": 1126,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1123,
"end": 1126,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1128,
"end": 1131,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1128,
"end": 1131,
"ctxt": 0
},
"kind": "any"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1133,
"end": 1136,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 1133,
"end": 1136,
"ctxt": 0
},
"kind": "any"
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1140,
"end": 1168,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1141,
"end": 1150,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 1152,
"end": 1156,
"ctxt": 0
}
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 1158,
"end": 1167,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1170,
"end": 1234,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1174,
"end": 1233,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1174,
"end": 1176,
"ctxt": 0
},
"value": "b1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1176,
"end": 1198,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 1178,
"end": 1198,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 1179,
"end": 1187,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1179,
"end": 1187,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1179,
"end": 1185,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 1189,
"end": 1197,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 1189,
"end": 1197,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 1189,
"end": 1195,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1201,
"end": 1233,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1202,
"end": 1211,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1203,
"end": 1204,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1206,
"end": 1207,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1209,
"end": 1210,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 1213,
"end": 1232,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1214,
"end": 1221,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1223,
"end": 1231,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1553,
"end": 1575,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1557,
"end": 1574,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1557,
"end": 1565,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1558,
"end": 1560,
"ctxt": 0
},
"value": "c0",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1562,
"end": 1564,
"ctxt": 0
},
"value": "c1",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1568,
"end": 1574,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1569,
"end": 1570,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1572,
"end": 1573,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1614,
"end": 1642,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1618,
"end": 1641,
"ctxt": 0
},
"id": {
"type": "ArrayPattern",
"span": {
"start": 1618,
"end": 1626,
"ctxt": 0
},
"elements": [
{
"type": "Identifier",
"span": {
"start": 1619,
"end": 1621,
"ctxt": 0
},
"value": "c2",
"optional": false,
"typeAnnotation": null
},
{
"type": "Identifier",
"span": {
"start": 1623,
"end": 1625,
"ctxt": 0
},
"value": "c3",
"optional": false,
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1629,
"end": 1641,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1630,
"end": 1631,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1633,
"end": 1634,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 1636,
"end": 1640,
"ctxt": 0
},
"value": true
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1981,
"end": 2008,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1985,
"end": 2007,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1985,
"end": 1989,
"ctxt": 0
},
"value": "temp",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1992,
"end": 2007,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1993,
"end": 1996,
"ctxt": 0
},
"value": "s",
"raw": "\"s\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 1998,
"end": 2001,
"ctxt": 0
},
"value": "t",
"raw": "\"t\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2003,
"end": 2006,
"ctxt": 0
},
"value": "r",
"raw": "\"r\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2009,
"end": 2031,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2013,
"end": 2030,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2013,
"end": 2018,
"ctxt": 0
},
"value": "temp1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2021,
"end": 2030,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2022,
"end": 2023,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2025,
"end": 2026,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2028,
"end": 2029,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2032,
"end": 2099,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2036,
"end": 2098,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2036,
"end": 2041,
"ctxt": 0
},
"value": "temp2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2041,
"end": 2063,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 2043,
"end": 2063,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 2044,
"end": 2052,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2044,
"end": 2052,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2044,
"end": 2050,
"ctxt": 0
},
"kind": "number"
}
}
},
{
"type": "TsTupleElement",
"span": {
"start": 2054,
"end": 2062,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsArrayType",
"span": {
"start": 2054,
"end": 2062,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2054,
"end": 2060,
"ctxt": 0
},
"kind": "string"
}
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2066,
"end": 2098,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2067,
"end": 2076,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2068,
"end": 2069,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2071,
"end": 2072,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2074,
"end": 2075,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2078,
"end": 2097,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2079,
"end": 2086,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2088,
"end": 2096,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2100,
"end": 2141,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2104,
"end": 2140,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2104,
"end": 2109,
"ctxt": 0
},
"value": "temp3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2112,
"end": 2140,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2113,
"end": 2122,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
{
"spread": null,
"expression": {
"type": "NullLiteral",
"span": {
"start": 2124,
"end": 2128,
"ctxt": 0
}
}
},
{
"spread": null,
"expression": {
"type": "Identifier",
"span": {
"start": 2130,
"end": 2139,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2142,
"end": 2157,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2146,
"end": 2156,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2146,
"end": 2151,
"ctxt": 0
},
"value": "temp4",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2154,
"end": 2156,
"ctxt": 0
},
"elements": []
},
"definite": false
}
]
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2159,
"end": 2202,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2169,
"end": 2176,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2185,
"end": 2198,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2185,
"end": 2190,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2190,
"end": 2198,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2191,
"end": 2197,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2191,
"end": 2197,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2199,
"end": 2202,
"ctxt": 0
},
"body": []
}
},
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 2203,
"end": 2254,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2213,
"end": 2221,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"declare": false,
"typeParams": null,
"extends": [
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 2230,
"end": 2250,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2230,
"end": 2235,
"ctxt": 0
},
"value": "Array",
"optional": false
},
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 2235,
"end": 2250,
"ctxt": 0
},
"params": [
{
"type": "TsUnionType",
"span": {
"start": 2236,
"end": 2249,
"ctxt": 0
},
"types": [
{
"type": "TsTypeReference",
"span": {
"start": 2236,
"end": 2242,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2236,
"end": 2242,
"ctxt": 0
},
"value": "Number",
"optional": false
},
"typeParams": null
},
{
"type": "TsTypeReference",
"span": {
"start": 2243,
"end": 2249,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2243,
"end": 2249,
"ctxt": 0
},
"value": "String",
"optional": false
},
"typeParams": null
}
]
}
]
}
}
],
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 2251,
"end": 2254,
"ctxt": 0
},
"body": []
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2255,
"end": 2284,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2259,
"end": 2283,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2259,
"end": 2261,
"ctxt": 0
},
"value": "d0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2264,
"end": 2283,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2265,
"end": 2266,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 2268,
"end": 2272,
"ctxt": 0
},
"value": true
}
},
{
"spread": {
"start": 2274,
"end": 2277,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2277,
"end": 2281,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2324,
"end": 2343,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2328,
"end": 2342,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2328,
"end": 2330,
"ctxt": 0
},
"value": "d1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2333,
"end": 2342,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2334,
"end": 2337,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2337,
"end": 2341,
"ctxt": 0
},
"value": "temp",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2376,
"end": 2406,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2380,
"end": 2405,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2380,
"end": 2382,
"ctxt": 0
},
"value": "d2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2382,
"end": 2392,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2384,
"end": 2392,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2384,
"end": 2390,
"ctxt": 0
},
"kind": "number"
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2395,
"end": 2405,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2396,
"end": 2399,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2399,
"end": 2404,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2407,
"end": 2436,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2411,
"end": 2435,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2411,
"end": 2413,
"ctxt": 0
},
"value": "d3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2413,
"end": 2422,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2415,
"end": 2422,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2415,
"end": 2422,
"ctxt": 0
},
"value": "myArray",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2425,
"end": 2435,
"ctxt": 0
},
"elements": [
{
"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": 2476,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2441,
"end": 2475,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2441,
"end": 2443,
"ctxt": 0
},
"value": "d4",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2443,
"end": 2453,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2445,
"end": 2453,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2445,
"end": 2453,
"ctxt": 0
},
"value": "myArray2",
"optional": false
},
"typeParams": null
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2456,
"end": 2475,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2457,
"end": 2460,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2460,
"end": 2464,
"ctxt": 0
},
"value": "temp",
"optional": false
}
},
{
"spread": {
"start": 2466,
"end": 2469,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2469,
"end": 2474,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2477,
"end": 2497,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2481,
"end": 2496,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2481,
"end": 2483,
"ctxt": 0
},
"value": "d5",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2486,
"end": 2496,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2487,
"end": 2490,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2490,
"end": 2495,
"ctxt": 0
},
"value": "temp3",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2498,
"end": 2518,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2502,
"end": 2517,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2502,
"end": 2504,
"ctxt": 0
},
"value": "d6",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2507,
"end": 2517,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2508,
"end": 2511,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2511,
"end": 2516,
"ctxt": 0
},
"value": "temp4",
"optional": false
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2519,
"end": 2544,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2523,
"end": 2543,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2523,
"end": 2525,
"ctxt": 0
},
"value": "d7",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2528,
"end": 2543,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2529,
"end": 2532,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2532,
"end": 2542,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2533,
"end": 2536,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2536,
"end": 2541,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2545,
"end": 2578,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2549,
"end": 2578,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2549,
"end": 2551,
"ctxt": 0
},
"value": "d8",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2551,
"end": 2563,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 2553,
"end": 2563,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 2553,
"end": 2561,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 2553,
"end": 2559,
"ctxt": 0
},
"kind": "number"
}
}
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2566,
"end": 2578,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2567,
"end": 2577,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2568,
"end": 2571,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2571,
"end": 2576,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2579,
"end": 2615,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2583,
"end": 2614,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2583,
"end": 2585,
"ctxt": 0
},
"value": "d9",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 2588,
"end": 2614,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2589,
"end": 2599,
"ctxt": 0
},
"elements": [
{
"spread": {
"start": 2590,
"end": 2593,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2593,
"end": 2598,
"ctxt": 0
},
"value": "temp1",
"optional": false
}
}
]
}
},
{
"spread": {
"start": 2601,
"end": 2604,
"ctxt": 0
},
"expression": {
"type": "ArrayExpression",
"span": {
"start": 2604,
"end": 2613,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 2605,
"end": 2612,
"ctxt": 0
},
"value": "hello",
"raw": "\"hello\""
}
}
]
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}