| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "ClassDeclaration", |
| 12 |
"start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"}, |
| 16 |
"name": "Foo" |
| 17 |
}, |
| 18 |
"superClass": { |
| 19 |
"type": "Identifier", |
| 20 |
"start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"Bar"}, |
| 21 |
"name": "Bar" |
| 22 |
}, |
| 23 |
"implements": [ |
| 24 |
{ |
| 25 |
"type": "ClassImplements", |
| 26 |
"start":33,"end":36,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":36,"index":36}}, |
| 27 |
"id": { |
| 28 |
"type": "Identifier", |
| 29 |
"start":33,"end":36,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":36,"index":36},"identifierName":"Bat"}, |
| 30 |
"name": "Bat" |
| 31 |
}, |
| 32 |
"typeParameters": null |
| 33 |
}, |
| 34 |
{ |
| 35 |
"type": "ClassImplements", |
| 36 |
"start":38,"end":49,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":49,"index":49}}, |
| 37 |
"id": { |
| 38 |
"type": "Identifier", |
| 39 |
"start":38,"end":41,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":41,"index":41},"identifierName":"Man"}, |
| 40 |
"name": "Man" |
| 41 |
}, |
| 42 |
"typeParameters": { |
| 43 |
"type": "TypeParameterInstantiation", |
| 44 |
"start":41,"end":49,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":49,"index":49}}, |
| 45 |
"params": [ |
| 46 |
{ |
| 47 |
"type": "NumberTypeAnnotation", |
| 48 |
"start":42,"end":48,"loc":{"start":{"line":1,"column":42,"index":42},"end":{"line":1,"column":48,"index":48}} |
| 49 |
} |
| 50 |
] |
| 51 |
} |
| 52 |
} |
| 53 |
], |
| 54 |
"body": { |
| 55 |
"type": "ClassBody", |
| 56 |
"start":50,"end":52,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":52,"index":52}}, |
| 57 |
"body": [] |
| 58 |
} |
| 59 |
} |
| 60 |
], |
| 61 |
"directives": [] |
| 62 |
} |
| 63 |
} |