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