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

1989 lines
50 KiB
JSON

{
"type": "Script",
"span": {
"start": 83,
"end": 1479,
"ctxt": 0
},
"body": [
{
"type": "TsEnumDeclaration",
"span": {
"start": 83,
"end": 114,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 88,
"end": 90,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 97,
"end": 98,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 97,
"end": 98,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 104,
"end": 105,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 104,
"end": 105,
"ctxt": 0
},
"value": "B",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 111,
"end": 112,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 111,
"end": 112,
"ctxt": 0
},
"value": "C",
"optional": false
},
"init": null
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 152,
"end": 173,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 156,
"end": 172,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 156,
"end": 157,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 157,
"end": 165,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 159,
"end": 165,
"ctxt": 0
},
"kind": "number"
}
}
},
"init": {
"type": "MemberExpression",
"span": {
"start": 168,
"end": 172,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 168,
"end": 170,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 171,
"end": 172,
"ctxt": 0
},
"value": "A",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 261,
"end": 272,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 265,
"end": 271,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 265,
"end": 266,
"ctxt": 0
},
"value": "e",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "Identifier",
"span": {
"start": 269,
"end": 271,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 273,
"end": 384,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 277,
"end": 383,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 277,
"end": 278,
"ctxt": 0
},
"value": "e",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 278,
"end": 383,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 280,
"end": 383,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 286,
"end": 303,
"ctxt": 0
},
"readonly": true,
"key": {
"type": "Identifier",
"span": {
"start": 295,
"end": 296,
"ctxt": 0
},
"value": "A",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 296,
"end": 302,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 298,
"end": 302,
"ctxt": 0
},
"typeName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 298,
"end": 300,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 301,
"end": 302,
"ctxt": 0
},
"value": "A",
"optional": false
}
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 308,
"end": 325,
"ctxt": 0
},
"readonly": true,
"key": {
"type": "Identifier",
"span": {
"start": 317,
"end": 318,
"ctxt": 0
},
"value": "B",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 318,
"end": 324,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 320,
"end": 324,
"ctxt": 0
},
"typeName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 320,
"end": 322,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 323,
"end": 324,
"ctxt": 0
},
"value": "B",
"optional": false
}
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 330,
"end": 347,
"ctxt": 0
},
"readonly": true,
"key": {
"type": "Identifier",
"span": {
"start": 339,
"end": 340,
"ctxt": 0
},
"value": "C",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 340,
"end": 346,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 342,
"end": 346,
"ctxt": 0
},
"typeName": {
"type": "TsQualifiedName",
"left": {
"type": "Identifier",
"span": {
"start": 342,
"end": 344,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"right": {
"type": "Identifier",
"span": {
"start": 345,
"end": 346,
"ctxt": 0
},
"value": "C",
"optional": false
}
},
"typeParams": null
}
},
"typeParams": null
},
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 362,
"end": 371,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 363,
"end": 371,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 365,
"end": 371,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 372,
"end": 380,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 374,
"end": 380,
"ctxt": 0
},
"kind": "string"
}
},
"readonly": true,
"static": false,
"span": {
"start": 352,
"end": 381,
"ctxt": 0
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 385,
"end": 402,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 389,
"end": 401,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 389,
"end": 390,
"ctxt": 0
},
"value": "e",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 390,
"end": 401,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 392,
"end": 401,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 399,
"end": 401,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"typeArguments": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 464,
"end": 480,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 468,
"end": 479,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 468,
"end": 469,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 472,
"end": 479,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 472,
"end": 474,
"ctxt": 0
},
"value": "E1",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 474,
"end": 479,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 475,
"end": 478,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 475,
"end": 476,
"ctxt": 0
},
"value": "e",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 477,
"end": 478,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 481,
"end": 495,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 485,
"end": 494,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 485,
"end": 486,
"ctxt": 0
},
"value": "s",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 486,
"end": 494,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 488,
"end": 494,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 533,
"end": 568,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 538,
"end": 540,
"ctxt": 0
},
"value": "E2",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 547,
"end": 552,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 547,
"end": 548,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 551,
"end": 552,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
{
"type": "TsEnumMember",
"span": {
"start": 554,
"end": 559,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 554,
"end": 555,
"ctxt": 0
},
"value": "B",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 558,
"end": 559,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
},
{
"type": "TsEnumMember",
"span": {
"start": 561,
"end": 566,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 561,
"end": 562,
"ctxt": 0
},
"value": "C",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 565,
"end": 566,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 605,
"end": 660,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 610,
"end": 612,
"ctxt": 0
},
"value": "E3",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 619,
"end": 635,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 619,
"end": 620,
"ctxt": 0
},
"value": "X",
"optional": false
},
"init": {
"type": "MemberExpression",
"span": {
"start": 623,
"end": 635,
"ctxt": 0
},
"object": {
"type": "StringLiteral",
"span": {
"start": 623,
"end": 628,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
},
"property": {
"type": "Identifier",
"span": {
"start": 629,
"end": 635,
"ctxt": 0
},
"value": "length",
"optional": false
}
}
},
{
"type": "TsEnumMember",
"span": {
"start": 637,
"end": 646,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 637,
"end": 638,
"ctxt": 0
},
"value": "Y",
"optional": false
},
"init": {
"type": "BinaryExpression",
"span": {
"start": 641,
"end": 646,
"ctxt": 0
},
"operator": "+",
"left": {
"type": "NumericLiteral",
"span": {
"start": 641,
"end": 642,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 645,
"end": 646,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
}
},
{
"type": "TsEnumMember",
"span": {
"start": 648,
"end": 658,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 648,
"end": 649,
"ctxt": 0
},
"value": "Z",
"optional": false
},
"init": {
"type": "UnaryExpression",
"span": {
"start": 652,
"end": 658,
"ctxt": 0
},
"operator": "+",
"argument": {
"type": "StringLiteral",
"span": {
"start": 653,
"end": 658,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
}
}
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 721,
"end": 763,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 726,
"end": 728,
"ctxt": 0
},
"value": "E4",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 735,
"end": 740,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 735,
"end": 736,
"ctxt": 0
},
"value": "X",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 739,
"end": 740,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
},
{
"type": "TsEnumMember",
"span": {
"start": 742,
"end": 743,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 742,
"end": 743,
"ctxt": 0
},
"value": "Y",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 745,
"end": 761,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 745,
"end": 746,
"ctxt": 0
},
"value": "Z",
"optional": false
},
"init": {
"type": "MemberExpression",
"span": {
"start": 749,
"end": 761,
"ctxt": 0
},
"object": {
"type": "StringLiteral",
"span": {
"start": 749,
"end": 754,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
},
"property": {
"type": "Identifier",
"span": {
"start": 755,
"end": 761,
"ctxt": 0
},
"value": "length",
"optional": false
}
}
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 877,
"end": 917,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 882,
"end": 884,
"ctxt": 0
},
"value": "E5",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 891,
"end": 892,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 891,
"end": 892,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 898,
"end": 903,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 898,
"end": 899,
"ctxt": 0
},
"value": "B",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 902,
"end": 903,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"type": "TsEnumMember",
"span": {
"start": 909,
"end": 910,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 909,
"end": 910,
"ctxt": 0
},
"value": "C",
"optional": false
},
"init": null
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 919,
"end": 959,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 924,
"end": 926,
"ctxt": 0
},
"value": "E6",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 933,
"end": 934,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 933,
"end": 934,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 940,
"end": 945,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 940,
"end": 941,
"ctxt": 0
},
"value": "B",
"optional": false
},
"init": {
"type": "NumericLiteral",
"span": {
"start": 944,
"end": 945,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
},
{
"type": "TsEnumMember",
"span": {
"start": 951,
"end": 952,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 951,
"end": 952,
"ctxt": 0
},
"value": "C",
"optional": false
},
"init": null
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 1016,
"end": 1048,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 1021,
"end": 1023,
"ctxt": 0
},
"value": "E7",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 1030,
"end": 1046,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1030,
"end": 1031,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1034,
"end": 1046,
"ctxt": 0
},
"object": {
"type": "StringLiteral",
"span": {
"start": 1034,
"end": 1039,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
},
"property": {
"type": "Computed",
"span": {
"start": 1039,
"end": 1046,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1040,
"end": 1045,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
}
}
}
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 1106,
"end": 1138,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 1111,
"end": 1113,
"ctxt": 0
},
"value": "E8",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 1120,
"end": 1136,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1120,
"end": 1121,
"ctxt": 0
},
"value": "B",
"optional": false
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1124,
"end": 1136,
"ctxt": 0
},
"object": {
"type": "StringLiteral",
"span": {
"start": 1124,
"end": 1129,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
},
"property": {
"type": "Computed",
"span": {
"start": 1129,
"end": 1136,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1130,
"end": 1135,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
}
}
}
}
]
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 1197,
"end": 1225,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 1202,
"end": 1204,
"ctxt": 0
},
"value": "E9",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 1211,
"end": 1212,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1211,
"end": 1212,
"ctxt": 0
},
"value": "A",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 1218,
"end": 1223,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1218,
"end": 1219,
"ctxt": 0
},
"value": "B",
"optional": false
},
"init": {
"type": "Identifier",
"span": {
"start": 1222,
"end": 1223,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1297,
"end": 1361,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1301,
"end": 1360,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1301,
"end": 1315,
"ctxt": 0
},
"value": "doNotPropagate",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1318,
"end": 1360,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1324,
"end": 1328,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1324,
"end": 1326,
"ctxt": 0
},
"value": "E8",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1327,
"end": 1328,
"ctxt": 0
},
"value": "B",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1330,
"end": 1334,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1330,
"end": 1332,
"ctxt": 0
},
"value": "E7",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1333,
"end": 1334,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1336,
"end": 1340,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1336,
"end": 1338,
"ctxt": 0
},
"value": "E4",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1339,
"end": 1340,
"ctxt": 0
},
"value": "Z",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1342,
"end": 1346,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1342,
"end": 1344,
"ctxt": 0
},
"value": "E3",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1345,
"end": 1346,
"ctxt": 0
},
"value": "X",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1348,
"end": 1352,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1348,
"end": 1350,
"ctxt": 0
},
"value": "E3",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1351,
"end": 1352,
"ctxt": 0
},
"value": "Y",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1354,
"end": 1358,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1354,
"end": 1356,
"ctxt": 0
},
"value": "E3",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1357,
"end": 1358,
"ctxt": 0
},
"value": "Z",
"optional": false
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1406,
"end": 1479,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1410,
"end": 1478,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1410,
"end": 1421,
"ctxt": 0
},
"value": "doPropagate",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrayExpression",
"span": {
"start": 1424,
"end": 1478,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1430,
"end": 1434,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1430,
"end": 1432,
"ctxt": 0
},
"value": "E9",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1433,
"end": 1434,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1436,
"end": 1440,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1436,
"end": 1438,
"ctxt": 0
},
"value": "E9",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1439,
"end": 1440,
"ctxt": 0
},
"value": "B",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1442,
"end": 1446,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1442,
"end": 1444,
"ctxt": 0
},
"value": "E6",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1445,
"end": 1446,
"ctxt": 0
},
"value": "B",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1448,
"end": 1452,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1448,
"end": 1450,
"ctxt": 0
},
"value": "E6",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1451,
"end": 1452,
"ctxt": 0
},
"value": "C",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1454,
"end": 1458,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1454,
"end": 1456,
"ctxt": 0
},
"value": "E6",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1457,
"end": 1458,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1460,
"end": 1464,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1460,
"end": 1462,
"ctxt": 0
},
"value": "E5",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1463,
"end": 1464,
"ctxt": 0
},
"value": "A",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1466,
"end": 1470,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1466,
"end": 1468,
"ctxt": 0
},
"value": "E5",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1469,
"end": 1470,
"ctxt": 0
},
"value": "B",
"optional": false
}
}
},
{
"spread": null,
"expression": {
"type": "MemberExpression",
"span": {
"start": 1472,
"end": 1476,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1472,
"end": 1474,
"ctxt": 0
},
"value": "E5",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1475,
"end": 1476,
"ctxt": 0
},
"value": "C",
"optional": false
}
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}