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