1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "type", 12 "loc": { 13 "start": { 14 "line": 17, 15 "column": 5 16 }, 17 "end": { 18 "line": 17, 19 "column": 9 20 } 21 } 22 }, 23 "init": { 24 "type": "NumberLiteral", 25 "value": 1, 26 "loc": { 27 "start": { 28 "line": 17, 29 "column": 12 30 }, 31 "end": { 32 "line": 17, 33 "column": 13 34 } 35 } 36 }, 37 "loc": { 38 "start": { 39 "line": 17, 40 "column": 5 41 }, 42 "end": { 43 "line": 17, 44 "column": 13 45 } 46 } 47 }, 48 { 49 "type": "VariableDeclarator", 50 "id": { 51 "type": "Identifier", 52 "name": "a", 53 "loc": { 54 "start": { 55 "line": 17, 56 "column": 15 57 }, 58 "end": { 59 "line": 17, 60 "column": 16 61 } 62 } 63 }, 64 "init": { 65 "type": "NumberLiteral", 66 "value": 0, 67 "loc": { 68 "start": { 69 "line": 17, 70 "column": 19 71 }, 72 "end": { 73 "line": 17, 74 "column": 20 75 } 76 } 77 }, 78 "loc": { 79 "start": { 80 "line": 17, 81 "column": 15 82 }, 83 "end": { 84 "line": 17, 85 "column": 20 86 } 87 } 88 } 89 ], 90 "kind": "var", 91 "loc": { 92 "start": { 93 "line": 17, 94 "column": 1 95 }, 96 "end": { 97 "line": 17, 98 "column": 21 99 } 100 } 101 }, 102 { 103 "type": "ExpressionStatement", 104 "expression": { 105 "type": "AssignmentExpression", 106 "operator": "=", 107 "left": { 108 "type": "Identifier", 109 "name": "type", 110 "loc": { 111 "start": { 112 "line": 18, 113 "column": 1 114 }, 115 "end": { 116 "line": 18, 117 "column": 5 118 } 119 } 120 }, 121 "right": { 122 "type": "NumberLiteral", 123 "value": 2, 124 "loc": { 125 "start": { 126 "line": 18, 127 "column": 8 128 }, 129 "end": { 130 "line": 18, 131 "column": 9 132 } 133 } 134 }, 135 "loc": { 136 "start": { 137 "line": 18, 138 "column": 1 139 }, 140 "end": { 141 "line": 18, 142 "column": 9 143 } 144 } 145 }, 146 "loc": { 147 "start": { 148 "line": 18, 149 "column": 1 150 }, 151 "end": { 152 "line": 18, 153 "column": 10 154 } 155 } 156 }, 157 { 158 "type": "ExpressionStatement", 159 "expression": { 160 "type": "UpdateExpression", 161 "operator": "++", 162 "prefix": false, 163 "argument": { 164 "type": "Identifier", 165 "name": "type", 166 "loc": { 167 "start": { 168 "line": 19, 169 "column": 1 170 }, 171 "end": { 172 "line": 19, 173 "column": 5 174 } 175 } 176 }, 177 "loc": { 178 "start": { 179 "line": 19, 180 "column": 1 181 }, 182 "end": { 183 "line": 19, 184 "column": 7 185 } 186 } 187 }, 188 "loc": { 189 "start": { 190 "line": 19, 191 "column": 1 192 }, 193 "end": { 194 "line": 19, 195 "column": 8 196 } 197 } 198 }, 199 { 200 "type": "TSTypeAliasDeclaration", 201 "id": { 202 "type": "Identifier", 203 "name": "a", 204 "loc": { 205 "start": { 206 "line": 21, 207 "column": 6 208 }, 209 "end": { 210 "line": 21, 211 "column": 7 212 } 213 } 214 }, 215 "typeAnnotation": { 216 "type": "TSNumberKeyword", 217 "loc": { 218 "start": { 219 "line": 21, 220 "column": 10 221 }, 222 "end": { 223 "line": 21, 224 "column": 16 225 } 226 } 227 }, 228 "loc": { 229 "start": { 230 "line": 21, 231 "column": 1 232 }, 233 "end": { 234 "line": 21, 235 "column": 17 236 } 237 } 238 }, 239 { 240 "type": "ExpressionStatement", 241 "expression": { 242 "type": "Identifier", 243 "name": "type", 244 "loc": { 245 "start": { 246 "line": 23, 247 "column": 1 248 }, 249 "end": { 250 "line": 23, 251 "column": 5 252 } 253 } 254 }, 255 "loc": { 256 "start": { 257 "line": 23, 258 "column": 1 259 }, 260 "end": { 261 "line": 23, 262 "column": 5 263 } 264 } 265 }, 266 { 267 "type": "ExpressionStatement", 268 "expression": { 269 "type": "Identifier", 270 "name": "a", 271 "loc": { 272 "start": { 273 "line": 24, 274 "column": 1 275 }, 276 "end": { 277 "line": 24, 278 "column": 2 279 } 280 } 281 }, 282 "loc": { 283 "start": { 284 "line": 24, 285 "column": 1 286 }, 287 "end": { 288 "line": 24, 289 "column": 2 290 } 291 } 292 } 293 ], 294 "loc": { 295 "start": { 296 "line": 1, 297 "column": 1 298 }, 299 "end": { 300 "line": 25, 301 "column": 1 302 } 303 } 304} 305