1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSEnumDeclaration", 6 "id": { 7 "type": "Identifier", 8 "name": "Foo", 9 "decorators": [], 10 "loc": { 11 "start": { 12 "line": 17, 13 "column": 6 14 }, 15 "end": { 16 "line": 17, 17 "column": 9 18 } 19 } 20 }, 21 "members": [ 22 { 23 "type": "TSEnumMember", 24 "id": { 25 "type": "Identifier", 26 "name": "A", 27 "decorators": [], 28 "loc": { 29 "start": { 30 "line": 18, 31 "column": 5 32 }, 33 "end": { 34 "line": 18, 35 "column": 6 36 } 37 } 38 }, 39 "loc": { 40 "start": { 41 "line": 18, 42 "column": 6 43 }, 44 "end": { 45 "line": 18, 46 "column": 7 47 } 48 } 49 }, 50 { 51 "type": "TSEnumMember", 52 "id": { 53 "type": "Identifier", 54 "name": "B", 55 "decorators": [], 56 "loc": { 57 "start": { 58 "line": 19, 59 "column": 5 60 }, 61 "end": { 62 "line": 19, 63 "column": 6 64 } 65 } 66 }, 67 "initializer": { 68 "type": "BinaryExpression", 69 "operator": "<<", 70 "left": { 71 "type": "NumberLiteral", 72 "value": 5, 73 "loc": { 74 "start": { 75 "line": 19, 76 "column": 9 77 }, 78 "end": { 79 "line": 19, 80 "column": 10 81 } 82 } 83 }, 84 "right": { 85 "type": "NumberLiteral", 86 "value": 4, 87 "loc": { 88 "start": { 89 "line": 19, 90 "column": 14 91 }, 92 "end": { 93 "line": 19, 94 "column": 15 95 } 96 } 97 }, 98 "loc": { 99 "start": { 100 "line": 19, 101 "column": 9 102 }, 103 "end": { 104 "line": 19, 105 "column": 15 106 } 107 } 108 }, 109 "loc": { 110 "start": { 111 "line": 19, 112 "column": 9 113 }, 114 "end": { 115 "line": 19, 116 "column": 16 117 } 118 } 119 }, 120 { 121 "type": "TSEnumMember", 122 "id": { 123 "type": "Identifier", 124 "name": "C", 125 "decorators": [], 126 "loc": { 127 "start": { 128 "line": 20, 129 "column": 5 130 }, 131 "end": { 132 "line": 20, 133 "column": 6 134 } 135 } 136 }, 137 "loc": { 138 "start": { 139 "line": 20, 140 "column": 6 141 }, 142 "end": { 143 "line": 20, 144 "column": 7 145 } 146 } 147 }, 148 { 149 "type": "TSEnumMember", 150 "id": { 151 "type": "Identifier", 152 "name": "D", 153 "decorators": [], 154 "loc": { 155 "start": { 156 "line": 21, 157 "column": 5 158 }, 159 "end": { 160 "line": 21, 161 "column": 6 162 } 163 } 164 }, 165 "initializer": { 166 "type": "BinaryExpression", 167 "operator": "|", 168 "left": { 169 "type": "Identifier", 170 "name": "B", 171 "decorators": [], 172 "loc": { 173 "start": { 174 "line": 21, 175 "column": 9 176 }, 177 "end": { 178 "line": 21, 179 "column": 10 180 } 181 } 182 }, 183 "right": { 184 "type": "Identifier", 185 "name": "C", 186 "decorators": [], 187 "loc": { 188 "start": { 189 "line": 21, 190 "column": 13 191 }, 192 "end": { 193 "line": 21, 194 "column": 14 195 } 196 } 197 }, 198 "loc": { 199 "start": { 200 "line": 21, 201 "column": 9 202 }, 203 "end": { 204 "line": 21, 205 "column": 14 206 } 207 } 208 }, 209 "loc": { 210 "start": { 211 "line": 21, 212 "column": 9 213 }, 214 "end": { 215 "line": 21, 216 "column": 15 217 } 218 } 219 }, 220 { 221 "type": "TSEnumMember", 222 "id": { 223 "type": "Identifier", 224 "name": "E", 225 "decorators": [], 226 "loc": { 227 "start": { 228 "line": 22, 229 "column": 5 230 }, 231 "end": { 232 "line": 22, 233 "column": 6 234 } 235 } 236 }, 237 "initializer": { 238 "type": "NumberLiteral", 239 "value": 6, 240 "loc": { 241 "start": { 242 "line": 22, 243 "column": 9 244 }, 245 "end": { 246 "line": 22, 247 "column": 10 248 } 249 } 250 }, 251 "loc": { 252 "start": { 253 "line": 22, 254 "column": 9 255 }, 256 "end": { 257 "line": 22, 258 "column": 11 259 } 260 } 261 }, 262 { 263 "type": "TSEnumMember", 264 "id": { 265 "type": "Identifier", 266 "name": "F", 267 "decorators": [], 268 "loc": { 269 "start": { 270 "line": 23, 271 "column": 5 272 }, 273 "end": { 274 "line": 23, 275 "column": 6 276 } 277 } 278 }, 279 "initializer": { 280 "type": "MemberExpression", 281 "object": { 282 "type": "StringLiteral", 283 "value": "123", 284 "loc": { 285 "start": { 286 "line": 23, 287 "column": 9 288 }, 289 "end": { 290 "line": 23, 291 "column": 14 292 } 293 } 294 }, 295 "property": { 296 "type": "Identifier", 297 "name": "length", 298 "decorators": [], 299 "loc": { 300 "start": { 301 "line": 23, 302 "column": 15 303 }, 304 "end": { 305 "line": 23, 306 "column": 21 307 } 308 } 309 }, 310 "computed": false, 311 "optional": false, 312 "loc": { 313 "start": { 314 "line": 23, 315 "column": 9 316 }, 317 "end": { 318 "line": 23, 319 "column": 21 320 } 321 } 322 }, 323 "loc": { 324 "start": { 325 "line": 23, 326 "column": 9 327 }, 328 "end": { 329 "line": 23, 330 "column": 22 331 } 332 } 333 } 334 ], 335 "const": false, 336 "loc": { 337 "start": { 338 "line": 17, 339 "column": 1 340 }, 341 "end": { 342 "line": 24, 343 "column": 2 344 } 345 } 346 } 347 ], 348 "loc": { 349 "start": { 350 "line": 1, 351 "column": 1 352 }, 353 "end": { 354 "line": 24, 355 "column": 2 356 } 357 } 358} 359