{ "type": "Script", "span": { "start": 51, "end": 1410, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 51, "end": 94, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 65, "end": 94, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 65, "end": 67, "ctxt": 0 }, "value": "a1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 67, "end": 94, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 69, "end": 94, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 69, "end": 75, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 78, "end": 87, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 90, "end": 94, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 95, "end": 138, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 109, "end": 138, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 109, "end": 111, "ctxt": 0 }, "value": "a2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 111, "end": 138, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 113, "end": 138, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 113, "end": 119, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 122, "end": 131, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 134, "end": 138, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 139, "end": 182, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 153, "end": 182, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 153, "end": 155, "ctxt": 0 }, "value": "a3", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 155, "end": 182, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 157, "end": 182, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 157, "end": 163, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 166, "end": 175, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 178, "end": 182, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 183, "end": 226, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 197, "end": 226, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 197, "end": 199, "ctxt": 0 }, "value": "a4", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 199, "end": 226, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 201, "end": 226, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 201, "end": 207, "ctxt": 0 }, "kind": "string" }, { "type": "TsKeywordType", "span": { "start": 210, "end": 219, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 222, "end": 226, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 228, "end": 271, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 242, "end": 271, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 242, "end": 244, "ctxt": 0 }, "value": "b1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 244, "end": 271, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 246, "end": 271, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 246, "end": 252, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 255, "end": 264, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 267, "end": 271, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 272, "end": 315, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 286, "end": 315, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 286, "end": 288, "ctxt": 0 }, "value": "b2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 288, "end": 315, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 290, "end": 315, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 290, "end": 296, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 299, "end": 308, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 311, "end": 315, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 316, "end": 359, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 330, "end": 359, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 330, "end": 332, "ctxt": 0 }, "value": "b3", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 332, "end": 359, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 334, "end": 359, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 334, "end": 340, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 343, "end": 352, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 355, "end": 359, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 360, "end": 403, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 374, "end": 403, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 374, "end": 376, "ctxt": 0 }, "value": "b4", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 376, "end": 403, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 378, "end": 403, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 378, "end": 384, "ctxt": 0 }, "kind": "number" }, { "type": "TsKeywordType", "span": { "start": 387, "end": 396, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 399, "end": 403, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 405, "end": 449, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 419, "end": 449, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 419, "end": 421, "ctxt": 0 }, "value": "c1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 421, "end": 449, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 423, "end": 449, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 423, "end": 430, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsKeywordType", "span": { "start": 433, "end": 442, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 445, "end": 449, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 450, "end": 494, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 464, "end": 494, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 464, "end": 466, "ctxt": 0 }, "value": "c2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 466, "end": 494, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 468, "end": 494, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 468, "end": 475, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsKeywordType", "span": { "start": 478, "end": 487, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 490, "end": 494, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 495, "end": 539, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 509, "end": 539, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 509, "end": 511, "ctxt": 0 }, "value": "c3", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 511, "end": 539, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 513, "end": 539, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 513, "end": 520, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsKeywordType", "span": { "start": 523, "end": 532, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 535, "end": 539, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 540, "end": 584, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 554, "end": 584, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 554, "end": 556, "ctxt": 0 }, "value": "c4", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 556, "end": 584, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 558, "end": 584, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 558, "end": 565, "ctxt": 0 }, "kind": "boolean" }, { "type": "TsKeywordType", "span": { "start": 568, "end": 577, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 580, "end": 584, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "TsInterfaceDeclaration", "span": { "start": 586, "end": 611, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 596, "end": 597, "ctxt": 0 }, "value": "I", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 598, "end": 611, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 600, "end": 609, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 600, "end": 601, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 601, "end": 609, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 603, "end": 609, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } }, { "type": "VariableDeclaration", "span": { "start": 612, "end": 650, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 626, "end": 650, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 626, "end": 628, "ctxt": 0 }, "value": "d1", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 628, "end": 650, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 630, "end": 650, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 630, "end": 631, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 630, "end": 631, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null }, { "type": "TsKeywordType", "span": { "start": 634, "end": 643, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 646, "end": 650, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 651, "end": 689, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 665, "end": 689, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 665, "end": 667, "ctxt": 0 }, "value": "d2", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 667, "end": 689, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 669, "end": 689, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 669, "end": 670, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 669, "end": 670, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null }, { "type": "TsKeywordType", "span": { "start": 673, "end": 682, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 685, "end": 689, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 690, "end": 728, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 704, "end": 728, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 704, "end": 706, "ctxt": 0 }, "value": "d3", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 706, "end": 728, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 708, "end": 728, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 708, "end": 709, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 708, "end": 709, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null }, { "type": "TsKeywordType", "span": { "start": 712, "end": 721, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 724, "end": 728, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 729, "end": 767, "ctxt": 0 }, "kind": "const", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 743, "end": 767, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 743, "end": 745, "ctxt": 0 }, "value": "d4", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 745, "end": 767, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 747, "end": 767, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 747, "end": 748, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 747, "end": 748, "ctxt": 0 }, "value": "I", "optional": false }, "typeParams": null }, { "type": "TsKeywordType", "span": { "start": 751, "end": 760, "ctxt": 0 }, "kind": "undefined" }, { "type": "TsKeywordType", "span": { "start": 763, "end": 767, "ctxt": 0 }, "kind": "null" } ] } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 769, "end": 798, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 775, "end": 797, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 775, "end": 778, "ctxt": 0 }, "value": "aa1", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 781, "end": 797, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 781, "end": 783, "ctxt": 0 }, "value": "a1", "optional": false }, "right": { "type": "StringLiteral", "span": { "start": 787, "end": 797, "ctxt": 0 }, "value": "whatever", "raw": "'whatever'" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 799, "end": 828, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 805, "end": 827, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 805, "end": 808, "ctxt": 0 }, "value": "aa2", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 811, "end": 827, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 811, "end": 813, "ctxt": 0 }, "value": "a2", "optional": false }, "right": { "type": "StringLiteral", "span": { "start": 817, "end": 827, "ctxt": 0 }, "value": "whatever", "raw": "'whatever'" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 829, "end": 858, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 835, "end": 857, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 835, "end": 838, "ctxt": 0 }, "value": "aa3", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 841, "end": 857, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 841, "end": 843, "ctxt": 0 }, "value": "a3", "optional": false }, "right": { "type": "StringLiteral", "span": { "start": 847, "end": 857, "ctxt": 0 }, "value": "whatever", "raw": "'whatever'" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 859, "end": 888, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 865, "end": 887, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 865, "end": 868, "ctxt": 0 }, "value": "aa4", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 871, "end": 887, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 871, "end": 873, "ctxt": 0 }, "value": "a4", "optional": false }, "right": { "type": "StringLiteral", "span": { "start": 877, "end": 887, "ctxt": 0 }, "value": "whatever", "raw": "'whatever'" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 890, "end": 910, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 896, "end": 909, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 896, "end": 899, "ctxt": 0 }, "value": "bb1", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 902, "end": 909, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 902, "end": 904, "ctxt": 0 }, "value": "b1", "optional": false }, "right": { "type": "NumericLiteral", "span": { "start": 908, "end": 909, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 911, "end": 931, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 917, "end": 930, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 917, "end": 920, "ctxt": 0 }, "value": "bb2", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 923, "end": 930, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 923, "end": 925, "ctxt": 0 }, "value": "b2", "optional": false }, "right": { "type": "NumericLiteral", "span": { "start": 929, "end": 930, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 932, "end": 952, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 938, "end": 951, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 938, "end": 941, "ctxt": 0 }, "value": "bb3", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 944, "end": 951, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 944, "end": 946, "ctxt": 0 }, "value": "b3", "optional": false }, "right": { "type": "NumericLiteral", "span": { "start": 950, "end": 951, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 953, "end": 973, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 959, "end": 972, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 959, "end": 962, "ctxt": 0 }, "value": "bb4", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 965, "end": 972, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 965, "end": 967, "ctxt": 0 }, "value": "b4", "optional": false }, "right": { "type": "NumericLiteral", "span": { "start": 971, "end": 972, "ctxt": 0 }, "value": 1.0, "raw": "1" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 975, "end": 998, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 981, "end": 997, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 981, "end": 984, "ctxt": 0 }, "value": "cc1", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 987, "end": 997, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 987, "end": 989, "ctxt": 0 }, "value": "c1", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 993, "end": 997, "ctxt": 0 }, "value": true } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 999, "end": 1022, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1005, "end": 1021, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1005, "end": 1008, "ctxt": 0 }, "value": "cc2", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 1011, "end": 1021, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1011, "end": 1013, "ctxt": 0 }, "value": "c2", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 1017, "end": 1021, "ctxt": 0 }, "value": true } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1023, "end": 1046, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1029, "end": 1045, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1029, "end": 1032, "ctxt": 0 }, "value": "cc3", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 1035, "end": 1045, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1035, "end": 1037, "ctxt": 0 }, "value": "c3", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 1041, "end": 1045, "ctxt": 0 }, "value": true } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1047, "end": 1070, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1053, "end": 1069, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1053, "end": 1056, "ctxt": 0 }, "value": "cc4", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 1059, "end": 1069, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1059, "end": 1061, "ctxt": 0 }, "value": "c4", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 1065, "end": 1069, "ctxt": 0 }, "value": true } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1072, "end": 1097, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1078, "end": 1096, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1078, "end": 1081, "ctxt": 0 }, "value": "dd1", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 1084, "end": 1096, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1084, "end": 1086, "ctxt": 0 }, "value": "d1", "optional": false }, "right": { "type": "ObjectExpression", "span": { "start": 1090, "end": 1096, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1091, "end": 1092, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1094, "end": 1095, "ctxt": 0 }, "value": 1.0, "raw": "1" } } ] } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1098, "end": 1123, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1104, "end": 1122, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1104, "end": 1107, "ctxt": 0 }, "value": "dd2", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 1110, "end": 1122, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1110, "end": 1112, "ctxt": 0 }, "value": "d2", "optional": false }, "right": { "type": "ObjectExpression", "span": { "start": 1116, "end": 1122, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1117, "end": 1118, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1120, "end": 1121, "ctxt": 0 }, "value": 1.0, "raw": "1" } } ] } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1124, "end": 1149, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1130, "end": 1148, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1130, "end": 1133, "ctxt": 0 }, "value": "dd3", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 1136, "end": 1148, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1136, "end": 1138, "ctxt": 0 }, "value": "d3", "optional": false }, "right": { "type": "ObjectExpression", "span": { "start": 1142, "end": 1148, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1143, "end": 1144, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1146, "end": 1147, "ctxt": 0 }, "value": 1.0, "raw": "1" } } ] } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 1150, "end": 1175, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1156, "end": 1174, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1156, "end": 1159, "ctxt": 0 }, "value": "dd4", "optional": false, "typeAnnotation": null }, "init": { "type": "BinaryExpression", "span": { "start": 1162, "end": 1174, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1162, "end": 1164, "ctxt": 0 }, "value": "d4", "optional": false }, "right": { "type": "ObjectExpression", "span": { "start": 1168, "end": 1174, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 1169, "end": 1170, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "NumericLiteral", "span": { "start": 1172, "end": 1173, "ctxt": 0 }, "value": 1.0, "raw": "1" } } ] } }, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 1216, "end": 1219, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": true, "params": [], "decorators": [], "span": { "start": 1199, "end": 1228, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 1221, "end": 1227, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 1223, "end": 1227, "ctxt": 0 }, "kind": "void" } } }, { "type": "VariableDeclaration", "span": { "start": 1230, "end": 1254, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 1236, "end": 1253, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 1236, "end": 1245, "ctxt": 0 }, "value": "maybeBool", "optional": false, "typeAnnotation": null }, "init": { "type": "BooleanLiteral", "span": { "start": 1248, "end": 1253, "ctxt": 0 }, "value": false }, "definite": false } ] }, { "type": "IfStatement", "span": { "start": 1256, "end": 1296, "ctxt": 0 }, "test": { "type": "UnaryExpression", "span": { "start": 1260, "end": 1280, "ctxt": 0 }, "operator": "!", "argument": { "type": "ParenthesisExpression", "span": { "start": 1261, "end": 1280, "ctxt": 0 }, "expression": { "type": "BinaryExpression", "span": { "start": 1262, "end": 1279, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1262, "end": 1271, "ctxt": 0 }, "value": "maybeBool", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 1275, "end": 1279, "ctxt": 0 }, "value": true } } } }, "consequent": { "type": "BlockStatement", "span": { "start": 1282, "end": 1296, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1288, "end": 1294, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1288, "end": 1293, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1288, "end": 1291, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null } } ] }, "alternate": null }, { "type": "IfStatement", "span": { "start": 1298, "end": 1355, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 1302, "end": 1319, "ctxt": 0 }, "operator": "??", "left": { "type": "Identifier", "span": { "start": 1302, "end": 1311, "ctxt": 0 }, "value": "maybeBool", "optional": false }, "right": { "type": "BooleanLiteral", "span": { "start": 1315, "end": 1319, "ctxt": 0 }, "value": true } }, "consequent": { "type": "BlockStatement", "span": { "start": 1321, "end": 1335, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1327, "end": 1333, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1327, "end": 1332, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1327, "end": 1330, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null } } ] }, "alternate": { "type": "BlockStatement", "span": { "start": 1341, "end": 1355, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1347, "end": 1353, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1347, "end": 1352, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1347, "end": 1350, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null } } ] } }, { "type": "IfStatement", "span": { "start": 1357, "end": 1410, "ctxt": 0 }, "test": { "type": "BinaryExpression", "span": { "start": 1361, "end": 1374, "ctxt": 0 }, "operator": "??", "left": { "type": "BooleanLiteral", "span": { "start": 1361, "end": 1366, "ctxt": 0 }, "value": false }, "right": { "type": "BooleanLiteral", "span": { "start": 1370, "end": 1374, "ctxt": 0 }, "value": true } }, "consequent": { "type": "BlockStatement", "span": { "start": 1376, "end": 1390, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1382, "end": 1388, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1382, "end": 1387, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1382, "end": 1385, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null } } ] }, "alternate": { "type": "BlockStatement", "span": { "start": 1396, "end": 1410, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 1402, "end": 1408, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 1402, "end": 1407, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 1402, "end": 1405, "ctxt": 0 }, "value": "foo", "optional": false }, "arguments": [], "typeArguments": null } } ] } } ], "interpreter": null }