{ "type": "Script", "span": { "start": 17, "end": 79, "ctxt": 0 }, "body": [ { "type": "TsEnumDeclaration", "span": { "start": 17, "end": 30, "ctxt": 0 }, "declare": false, "isConst": false, "id": { "type": "Identifier", "span": { "start": 22, "end": 24, "ctxt": 0 }, "value": "E1", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 27, "end": 28, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 27, "end": 28, "ctxt": 0 }, "value": "x", "optional": false }, "init": null } ] }, { "type": "TsEnumDeclaration", "span": { "start": 31, "end": 44, "ctxt": 0 }, "declare": false, "isConst": false, "id": { "type": "Identifier", "span": { "start": 36, "end": 38, "ctxt": 0 }, "value": "E2", "optional": false }, "members": [ { "type": "TsEnumMember", "span": { "start": 41, "end": 42, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 41, "end": 42, "ctxt": 0 }, "value": "x", "optional": false }, "init": null } ] }, { "type": "VariableDeclaration", "span": { "start": 45, "end": 79, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 49, "end": 78, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 49, "end": 50, "ctxt": 0 }, "value": "o", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 53, "end": 78, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Computed", "span": { "start": 59, "end": 73, "ctxt": 0 }, "expression": { "type": "BinaryExpression", "span": { "start": 60, "end": 72, "ctxt": 0 }, "operator": "||", "left": { "type": "MemberExpression", "span": { "start": 60, "end": 64, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 60, "end": 62, "ctxt": 0 }, "value": "E1", "optional": false }, "property": { "type": "Identifier", "span": { "start": 63, "end": 64, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "MemberExpression", "span": { "start": 68, "end": 72, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 68, "end": 70, "ctxt": 0 }, "value": "E2", "optional": false }, "property": { "type": "Identifier", "span": { "start": 71, "end": 72, "ctxt": 0 }, "value": "x", "optional": false } } } }, "value": { "type": "NumericLiteral", "span": { "start": 75, "end": 76, "ctxt": 0 }, "value": 0.0, "raw": "0" } } ] }, "definite": false } ] } ], "interpreter": null }