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