|
| 1 | +{ |
| 2 | + "type": "File", |
| 3 | + "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}, |
| 4 | + "program": { |
| 5 | + "type": "Program", |
| 6 | + "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}, |
| 7 | + "sourceType": "module", |
| 8 | + "interpreter": null, |
| 9 | + "body": [ |
| 10 | + { |
| 11 | + "type": "ExpressionStatement", |
| 12 | + "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}, |
| 13 | + "expression": { |
| 14 | + "type": "AssignmentExpression", |
| 15 | + "start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}}, |
| 16 | + "operator": "=", |
| 17 | + "left": { |
| 18 | + "type": "Identifier", |
| 19 | + "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"a"}, |
| 20 | + "name": "a" |
| 21 | + }, |
| 22 | + "right": { |
| 23 | + "type": "ClassExpression", |
| 24 | + "start":4,"end":35,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":35,"index":35}}, |
| 25 | + "id": { |
| 26 | + "type": "Identifier", |
| 27 | + "start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13},"identifierName":"Foo"}, |
| 28 | + "name": "Foo" |
| 29 | + }, |
| 30 | + "typeParameters": { |
| 31 | + "type": "TypeParameterDeclaration", |
| 32 | + "start":13,"end":16,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":16,"index":16}}, |
| 33 | + "params": [ |
| 34 | + { |
| 35 | + "type": "TypeParameter", |
| 36 | + "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15}}, |
| 37 | + "name": "T", |
| 38 | + "variance": null |
| 39 | + } |
| 40 | + ] |
| 41 | + }, |
| 42 | + "superClass": { |
| 43 | + "type": "Identifier", |
| 44 | + "start":25,"end":28,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":28,"index":28},"identifierName":"Bar"}, |
| 45 | + "name": "Bar" |
| 46 | + }, |
| 47 | + "superTypeParameters": { |
| 48 | + "type": "TypeParameterInstantiation", |
| 49 | + "start":28,"end":31,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":31,"index":31}}, |
| 50 | + "params": [ |
| 51 | + { |
| 52 | + "type": "GenericTypeAnnotation", |
| 53 | + "start":29,"end":30,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":30,"index":30}}, |
| 54 | + "typeParameters": null, |
| 55 | + "id": { |
| 56 | + "type": "Identifier", |
| 57 | + "start":29,"end":30,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":30,"index":30},"identifierName":"T"}, |
| 58 | + "name": "T" |
| 59 | + } |
| 60 | + } |
| 61 | + ] |
| 62 | + }, |
| 63 | + "body": { |
| 64 | + "type": "ClassBody", |
| 65 | + "start":32,"end":35,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":35,"index":35}}, |
| 66 | + "body": [] |
| 67 | + } |
| 68 | + } |
| 69 | + } |
| 70 | + } |
| 71 | + ], |
| 72 | + "directives": [], |
| 73 | + "extra": { |
| 74 | + "topLevelAwait": false |
| 75 | + } |
| 76 | + } |
| 77 | +} |
0 commit comments