1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "IfStatement", 6 "test": { 7 "type": "NumberLiteral", 8 "value": 1, 9 "loc": { 10 "start": { 11 "line": 17, 12 "column": 5 13 }, 14 "end": { 15 "line": 17, 16 "column": 6 17 } 18 } 19 }, 20 "consequent": { 21 "type": "TSEnumDeclaration", 22 "id": { 23 "type": "Identifier", 24 "name": "A", 25 "decorators": [], 26 "loc": { 27 "start": { 28 "line": 18, 29 "column": 16 30 }, 31 "end": { 32 "line": 18, 33 "column": 17 34 } 35 } 36 }, 37 "members": [], 38 "const": true, 39 "declare": false, 40 "loc": { 41 "start": { 42 "line": 18, 43 "column": 11 44 }, 45 "end": { 46 "line": 18, 47 "column": 21 48 } 49 } 50 }, 51 "alternate": { 52 "type": "IfStatement", 53 "test": { 54 "type": "NumberLiteral", 55 "value": 2, 56 "loc": { 57 "start": { 58 "line": 19, 59 "column": 10 60 }, 61 "end": { 62 "line": 19, 63 "column": 11 64 } 65 } 66 }, 67 "consequent": { 68 "type": "TSEnumDeclaration", 69 "id": { 70 "type": "Identifier", 71 "name": "B", 72 "decorators": [], 73 "loc": { 74 "start": { 75 "line": 20, 76 "column": 16 77 }, 78 "end": { 79 "line": 20, 80 "column": 17 81 } 82 } 83 }, 84 "members": [], 85 "const": true, 86 "declare": false, 87 "loc": { 88 "start": { 89 "line": 20, 90 "column": 11 91 }, 92 "end": { 93 "line": 20, 94 "column": 21 95 } 96 } 97 }, 98 "alternate": { 99 "type": "TSEnumDeclaration", 100 "id": { 101 "type": "Identifier", 102 "name": "C", 103 "decorators": [], 104 "loc": { 105 "start": { 106 "line": 22, 107 "column": 16 108 }, 109 "end": { 110 "line": 22, 111 "column": 17 112 } 113 } 114 }, 115 "members": [], 116 "const": true, 117 "declare": false, 118 "loc": { 119 "start": { 120 "line": 22, 121 "column": 11 122 }, 123 "end": { 124 "line": 22, 125 "column": 21 126 } 127 } 128 }, 129 "loc": { 130 "start": { 131 "line": 19, 132 "column": 6 133 }, 134 "end": { 135 "line": 22, 136 "column": 21 137 } 138 } 139 }, 140 "loc": { 141 "start": { 142 "line": 17, 143 "column": 1 144 }, 145 "end": { 146 "line": 22, 147 "column": 21 148 } 149 } 150 } 151 ], 152 "loc": { 153 "start": { 154 "line": 1, 155 "column": 1 156 }, 157 "end": { 158 "line": 23, 159 "column": 1 160 } 161 } 162} 163