{ "type": "Script", "span": { "start": 0, "end": 188, "ctxt": 0 }, "body": [ { "type": "TsModuleDeclaration", "span": { "start": 0, "end": 81, "ctxt": 0 }, "declare": false, "global": false, "id": { "type": "Identifier", "span": { "start": 7, "end": 8, "ctxt": 0 }, "value": "A", "optional": false }, "body": { "type": "TsModuleBlock", "span": { "start": 9, "end": 81, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 15, "end": 46, "ctxt": 0 }, "declaration": { "type": "TsEnumDeclaration", "span": { "start": 22, "end": 46, "ctxt": 0 }, "declare": false, "isConst": false, "id": { "type": "Identifier", "span": { "start": 27, "end": 32, "ctxt": 0 }, "value": "Color", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 35, "end": 38, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 35, "end": 38, "ctxt": 0 }, "value": "Red", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 40, "end": 44, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 40, "end": 44, "ctxt": 0 }, "value": "Blue", "optional": false }, "init": null } ] } }, { "type": "TsEnumDeclaration", "span": { "start": 51, "end": 79, "ctxt": 0 }, "declare": false, "isConst": false, "id": { "type": "Identifier", "span": { "start": 56, "end": 59, "ctxt": 0 }, "value": "Day", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 62, "end": 68, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 62, "end": 68, "ctxt": 0 }, "value": "Monday", "optional": false }, "init": null }, { "type": "TsEnumMember", "span": { "start": 70, "end": 77, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 70, "end": 77, "ctxt": 0 }, "value": "Tuesday", "optional": false }, "init": null } ] } ] } }, { "type": "VariableDeclaration", "span": { "start": 114, "end": 143, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 118, "end": 142, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 118, "end": 119, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 119, "end": 128, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 121, "end": 128, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 121, "end": 122, "ctxt": 0 }, "value": "A", "optional": false }, "right": { "type": "Identifier", "span": { "start": 123, "end": 128, "ctxt": 0 }, "value": "Color", "optional": false } }, "typeParams": null } } }, "init": { "type": "MemberExpression", "span": { "start": 131, "end": 142, "ctxt": 0 }, "object": { "type": "MemberExpression", "span": { "start": 131, "end": 138, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 131, "end": 132, "ctxt": 0 }, "value": "A", "optional": false }, "property": { "type": "Identifier", "span": { "start": 133, "end": 138, "ctxt": 0 }, "value": "Color", "optional": false } }, "property": { "type": "Identifier", "span": { "start": 139, "end": 142, "ctxt": 0 }, "value": "Red", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 167, "end": 188, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 171, "end": 187, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 171, "end": 172, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": { "type": "MemberExpression", "span": { "start": 175, "end": 187, "ctxt": 0 }, "object": { "type": "MemberExpression", "span": { "start": 175, "end": 180, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 175, "end": 176, "ctxt": 0 }, "value": "A", "optional": false }, "property": { "type": "Identifier", "span": { "start": 177, "end": 180, "ctxt": 0 }, "value": "Day", "optional": false } }, "property": { "type": "Identifier", "span": { "start": 181, "end": 187, "ctxt": 0 }, "value": "Monday", "optional": false } }, "definite": false } ] } ], "interpreter": null }