{ "type": "Script", "span": { "start": 106, "end": 751, "ctxt": 0 }, "body": [ { "type": "TsModuleDeclaration", "span": { "start": 106, "end": 225, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 113, "end": 115, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 116, "end": 225, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 122, "end": 169, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 129, "end": 169, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 139, "end": 140, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 141, "end": 169, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 151, "end": 163, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 151, "end": 154, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 154, "end": 162, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 156, "end": 162, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } }, { "type": "VariableDeclaration", "span": { "start": 175, "end": 184, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 179, "end": 183, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 179, "end": 180, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 180, "end": 183, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 182, "end": 183, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 182, "end": 183, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 189, "end": 203, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 193, "end": 203, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 193, "end": 195, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 198, "end": 203, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 198, "end": 199, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 200, "end": 203, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 208, "end": 223, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 212, "end": 222, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 212, "end": 214, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 217, "end": 222, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 217, "end": 218, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 219, "end": 222, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 227, "end": 346, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 234, "end": 236, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 237, "end": 346, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 243, "end": 290, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 250, "end": 290, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 260, "end": 261, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 262, "end": 290, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 272, "end": 284, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 272, "end": 275, "ctxt": 0 }, "value": "bar", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 275, "end": 283, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 277, "end": 283, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } } }, { "type": "VariableDeclaration", "span": { "start": 296, "end": 305, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 300, "end": 304, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 300, "end": 301, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 301, "end": 304, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 303, "end": 304, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 303, "end": 304, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 310, "end": 324, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 314, "end": 324, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 314, "end": 316, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 319, "end": 324, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 319, "end": 320, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 321, "end": 324, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 329, "end": 344, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 333, "end": 343, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 333, "end": 335, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 338, "end": 343, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 338, "end": 339, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 340, "end": 343, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 405, "end": 577, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 412, "end": 414, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 415, "end": 577, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 421, "end": 575, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 428, "end": 575, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 435, "end": 437, "ctxt": 0 }, "value": "M3", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 438, "end": 575, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 448, "end": 503, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 455, "end": 503, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 465, "end": 466, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 467, "end": 503, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 481, "end": 493, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 481, "end": 484, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 484, "end": 492, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 486, "end": 492, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } }, { "type": "VariableDeclaration", "span": { "start": 513, "end": 522, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 517, "end": 521, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 517, "end": 518, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 518, "end": 521, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 520, "end": 521, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 520, "end": 521, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 531, "end": 545, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 535, "end": 545, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 535, "end": 537, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 540, "end": 545, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 540, "end": 541, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 542, "end": 545, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 554, "end": 569, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 558, "end": 568, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 558, "end": 560, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 563, "end": 568, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 563, "end": 564, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 565, "end": 568, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] } ] } } } ] } }, { "type": "TsModuleDeclaration", "span": { "start": 579, "end": 751, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 586, "end": 588, "ctxt": 0 }, "value": "M2", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 589, "end": 751, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 595, "end": 749, "ctxt": 0 }, "declaration": { "type": "TsModuleDeclaration", "span": { "start": 602, "end": 749, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 609, "end": 611, "ctxt": 0 }, "value": "M3", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 612, "end": 749, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 622, "end": 677, "ctxt": 0 }, "declaration": { "type": "TsInterfaceDeclaration", "span": { "start": 629, "end": 677, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 639, "end": 640, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 641, "end": 677, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 655, "end": 667, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 655, "end": 658, "ctxt": 0 }, "value": "bar", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 658, "end": 666, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 660, "end": 666, "ctxt": 0 }, "kind": "number" } }, "typeParams": null } ] } } }, { "type": "VariableDeclaration", "span": { "start": 687, "end": 696, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 691, "end": 695, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 691, "end": 692, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 692, "end": 695, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 694, "end": 695, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 694, "end": 695, "ctxt": 0 }, "value": "A", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 705, "end": 719, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 709, "end": 719, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 709, "end": 711, "ctxt": 0 }, "value": "r1", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 714, "end": 719, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 714, "end": 715, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 716, "end": 719, "ctxt": 0 }, "value": "foo", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 728, "end": 743, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 732, "end": 742, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 732, "end": 734, "ctxt": 0 }, "value": "r2", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 737, "end": 742, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 737, "end": 738, "ctxt": 0 }, "value": "a", "optional": false }, "property": { "type": "Identifier", "span": { "start": 739, "end": 742, "ctxt": 0 }, "value": "bar", "optional": false } }, "definite": false } ] } ] } } } ] } } ], "interpreter": null }