swc/crates/swc_ecma_parser/tests/tsc/indexerWithTuple.json
2022-03-22 07:54:08 +00:00

2227 lines
54 KiB
JSON

{
"type": "Script",
"span": {
"start": 0,
"end": 1422,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 0,
"end": 48,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4,
"end": 47,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4,
"end": 15,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 15,
"end": 33,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 17,
"end": 33,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 18,
"end": 24,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 18,
"end": 24,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 26,
"end": 32,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 26,
"end": 32,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 36,
"end": 47,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 37,
"end": 42,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 44,
"end": 46,
"ctxt": 0
},
"value": 10.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 50,
"end": 116,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 54,
"end": 115,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 54,
"end": 67,
"ctxt": 0
},
"value": "numTupleTuple",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 67,
"end": 95,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 69,
"end": 95,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 70,
"end": 76,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 70,
"end": 76,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 78,
"end": 94,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsTupleType",
"span": {
"start": 78,
"end": 94,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 79,
"end": 85,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 79,
"end": 85,
"ctxt": 0
},
"kind": "string"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 87,
"end": 93,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 87,
"end": 93,
"ctxt": 0
},
"kind": "number"
}
}
]
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 98,
"end": 115,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 99,
"end": 101,
"ctxt": 0
},
"value": 10.0
}
},
{
"spread": null,
"expression": {
"type": "ArrayExpression",
"span": {
"start": 103,
"end": 114,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 104,
"end": 109,
"ctxt": 0
},
"value": "bar",
"raw": "\"bar\""
}
},
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 111,
"end": 113,
"ctxt": 0
},
"value": 20.0
}
}
]
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 117,
"end": 173,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 121,
"end": 172,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 121,
"end": 132,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 132,
"end": 158,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 134,
"end": 158,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 135,
"end": 141,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 135,
"end": 141,
"ctxt": 0
},
"kind": "number"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 143,
"end": 157,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsUnionType",
"span": {
"start": 143,
"end": 157,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 143,
"end": 149,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 151,
"end": 157,
"ctxt": 0
},
"kind": "number"
}
]
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 161,
"end": 172,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 162,
"end": 164,
"ctxt": 0
},
"value": 10.0
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 166,
"end": 171,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 175,
"end": 234,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 179,
"end": 233,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 179,
"end": 190,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 190,
"end": 217,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTupleType",
"span": {
"start": 192,
"end": 217,
"ctxt": 0
},
"elemTypes": [
{
"type": "TsTupleElement",
"span": {
"start": 193,
"end": 200,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsKeywordType",
"span": {
"start": 193,
"end": 200,
"ctxt": 0
},
"kind": "boolean"
}
},
{
"type": "TsTupleElement",
"span": {
"start": 202,
"end": 216,
"ctxt": 0
},
"label": null,
"ty": {
"type": "TsUnionType",
"span": {
"start": 202,
"end": 216,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 202,
"end": 208,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 210,
"end": 216,
"ctxt": 0
},
"kind": "number"
}
]
}
}
]
}
}
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 220,
"end": 233,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "BooleanLiteral",
"span": {
"start": 221,
"end": 225,
"ctxt": 0
},
"value": true
}
},
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 227,
"end": 232,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 249,
"end": 262,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 253,
"end": 261,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 253,
"end": 257,
"ctxt": 0
},
"value": "idx0",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 260,
"end": 261,
"ctxt": 0
},
"value": 0.0
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 263,
"end": 276,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 267,
"end": 275,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 267,
"end": 271,
"ctxt": 0
},
"value": "idx1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 274,
"end": 275,
"ctxt": 0
},
"value": 1.0
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 277,
"end": 304,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 281,
"end": 303,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 281,
"end": 286,
"ctxt": 0
},
"value": "ele10",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 289,
"end": 303,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 289,
"end": 300,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 300,
"end": 303,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 301,
"end": 302,
"ctxt": 0
},
"value": 0.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 315,
"end": 342,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 319,
"end": 341,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 319,
"end": 324,
"ctxt": 0
},
"value": "ele11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 327,
"end": 341,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 327,
"end": 338,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 338,
"end": 341,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 339,
"end": 340,
"ctxt": 0
},
"value": 1.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 353,
"end": 380,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 357,
"end": 379,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 357,
"end": 362,
"ctxt": 0
},
"value": "ele12",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 365,
"end": 379,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 365,
"end": 376,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 376,
"end": 379,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 377,
"end": 378,
"ctxt": 0
},
"value": 2.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 400,
"end": 430,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 404,
"end": 429,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 404,
"end": 409,
"ctxt": 0
},
"value": "ele13",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 412,
"end": 429,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 412,
"end": 423,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 423,
"end": 429,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 424,
"end": 428,
"ctxt": 0
},
"value": "idx0",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 450,
"end": 480,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 454,
"end": 479,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 454,
"end": 459,
"ctxt": 0
},
"value": "ele14",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 462,
"end": 479,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 462,
"end": 473,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 473,
"end": 479,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 474,
"end": 478,
"ctxt": 0
},
"value": "idx1",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 500,
"end": 529,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 504,
"end": 528,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 504,
"end": 509,
"ctxt": 0
},
"value": "ele15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 512,
"end": 528,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 512,
"end": 523,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 523,
"end": 528,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 524,
"end": 527,
"ctxt": 0
},
"value": "0",
"raw": "\"0\""
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 540,
"end": 569,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 544,
"end": 568,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 544,
"end": 549,
"ctxt": 0
},
"value": "ele16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 552,
"end": 568,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 552,
"end": 563,
"ctxt": 0
},
"value": "strNumTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 563,
"end": 568,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 564,
"end": 567,
"ctxt": 0
},
"value": "1",
"raw": "\"1\""
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 580,
"end": 616,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 584,
"end": 615,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 584,
"end": 596,
"ctxt": 0
},
"value": "strNumTuple1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 599,
"end": 615,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 599,
"end": 612,
"ctxt": 0
},
"value": "numTupleTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 612,
"end": 615,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 613,
"end": 614,
"ctxt": 0
},
"value": 1.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 638,
"end": 667,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 642,
"end": 666,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 642,
"end": 647,
"ctxt": 0
},
"value": "ele17",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 650,
"end": 666,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 650,
"end": 663,
"ctxt": 0
},
"value": "numTupleTuple",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 663,
"end": 666,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 664,
"end": 665,
"ctxt": 0
},
"value": 2.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 697,
"end": 729,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 701,
"end": 728,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 701,
"end": 711,
"ctxt": 0
},
"value": "eleUnion10",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 714,
"end": 728,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 714,
"end": 725,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 725,
"end": 728,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 726,
"end": 727,
"ctxt": 0
},
"value": 0.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 740,
"end": 772,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 744,
"end": 771,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 744,
"end": 754,
"ctxt": 0
},
"value": "eleUnion11",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 757,
"end": 771,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 757,
"end": 768,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 768,
"end": 771,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 769,
"end": 770,
"ctxt": 0
},
"value": 1.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 792,
"end": 824,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 796,
"end": 823,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 796,
"end": 806,
"ctxt": 0
},
"value": "eleUnion12",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 809,
"end": 823,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 809,
"end": 820,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 820,
"end": 823,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 821,
"end": 822,
"ctxt": 0
},
"value": 2.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 844,
"end": 879,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 848,
"end": 878,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 848,
"end": 858,
"ctxt": 0
},
"value": "eleUnion13",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 861,
"end": 878,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 861,
"end": 872,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 872,
"end": 878,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 873,
"end": 877,
"ctxt": 0
},
"value": "idx0",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 899,
"end": 934,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 903,
"end": 933,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 903,
"end": 913,
"ctxt": 0
},
"value": "eleUnion14",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 916,
"end": 933,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 916,
"end": 927,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 927,
"end": 933,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 928,
"end": 932,
"ctxt": 0
},
"value": "idx1",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 954,
"end": 988,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 958,
"end": 987,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 958,
"end": 968,
"ctxt": 0
},
"value": "eleUnion15",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 971,
"end": 987,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 971,
"end": 982,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 982,
"end": 987,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 983,
"end": 986,
"ctxt": 0
},
"value": "0",
"raw": "\"0\""
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 999,
"end": 1033,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1003,
"end": 1032,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1003,
"end": 1013,
"ctxt": 0
},
"value": "eleUnion16",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1016,
"end": 1032,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1016,
"end": 1027,
"ctxt": 0
},
"value": "unionTuple1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1027,
"end": 1032,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1028,
"end": 1031,
"ctxt": 0
},
"value": "1",
"raw": "\"1\""
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1054,
"end": 1086,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1058,
"end": 1085,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1058,
"end": 1068,
"ctxt": 0
},
"value": "eleUnion20",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1071,
"end": 1085,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1071,
"end": 1082,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1082,
"end": 1085,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1083,
"end": 1084,
"ctxt": 0
},
"value": 0.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1098,
"end": 1130,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1102,
"end": 1129,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1102,
"end": 1112,
"ctxt": 0
},
"value": "eleUnion21",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1115,
"end": 1129,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1115,
"end": 1126,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1126,
"end": 1129,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1127,
"end": 1128,
"ctxt": 0
},
"value": 1.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1150,
"end": 1182,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1154,
"end": 1181,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1154,
"end": 1164,
"ctxt": 0
},
"value": "eleUnion22",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1167,
"end": 1181,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1167,
"end": 1178,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1178,
"end": 1181,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1179,
"end": 1180,
"ctxt": 0
},
"value": 2.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1212,
"end": 1247,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1216,
"end": 1246,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1216,
"end": 1226,
"ctxt": 0
},
"value": "eleUnion23",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1229,
"end": 1246,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1229,
"end": 1240,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1240,
"end": 1246,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1241,
"end": 1245,
"ctxt": 0
},
"value": "idx0",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1277,
"end": 1312,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1281,
"end": 1311,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1281,
"end": 1291,
"ctxt": 0
},
"value": "eleUnion24",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1294,
"end": 1311,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1294,
"end": 1305,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1305,
"end": 1311,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 1306,
"end": 1310,
"ctxt": 0
},
"value": "idx1",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1342,
"end": 1376,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1346,
"end": 1375,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1346,
"end": 1356,
"ctxt": 0
},
"value": "eleUnion25",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1359,
"end": 1375,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1359,
"end": 1370,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1370,
"end": 1375,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1371,
"end": 1374,
"ctxt": 0
},
"value": "0",
"raw": "\"0\""
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1388,
"end": 1422,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1392,
"end": 1421,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1392,
"end": 1402,
"ctxt": 0
},
"value": "eleUnion26",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1405,
"end": 1421,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1405,
"end": 1416,
"ctxt": 0
},
"value": "unionTuple2",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1416,
"end": 1421,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1417,
"end": 1420,
"ctxt": 0
},
"value": "1",
"raw": "\"1\""
}
}
},
"definite": false
}
]
}
],
"interpreter": null
}