{ "type": "Program", "statements": [ { "type": "IfStatement", "test": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 17, "column": 5 }, "end": { "line": 17, "column": 6 } } }, "consequent": { "type": "TSEnumDeclaration", "id": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 18, "column": 16 }, "end": { "line": 18, "column": 17 } } }, "members": [], "const": true, "loc": { "start": { "line": 18, "column": 11 }, "end": { "line": 18, "column": 21 } } }, "alternate": { "type": "IfStatement", "test": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 11 } } }, "consequent": { "type": "TSEnumDeclaration", "id": { "type": "Identifier", "name": "B", "decorators": [], "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 17 } } }, "members": [], "const": true, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 21 } } }, "alternate": { "type": "TSEnumDeclaration", "id": { "type": "Identifier", "name": "C", "decorators": [], "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 17 } } }, "members": [], "const": true, "loc": { "start": { "line": 22, "column": 11 }, "end": { "line": 22, "column": 21 } } }, "loc": { "start": { "line": 19, "column": 6 }, "end": { "line": 22, "column": 21 } } }, "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 22, "column": 21 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 23, "column": 1 } } }