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