| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":62}}, |
| 4 |
"program": { |
| 5 |
"type": "Program", |
| 6 |
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":62}}, |
| 7 |
"sourceType": "module", |
| 8 |
"interpreter": null, |
| 9 |
"body": [ |
| 10 |
{ |
| 11 |
"type": "DeclareClass", |
| 12 |
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":62}}, |
| 13 |
"id": { |
| 14 |
"type": "Identifier", |
| 15 |
"start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"X"}, |
| 16 |
"name": "X" |
| 17 |
}, |
| 18 |
"typeParameters": null, |
| 19 |
"extends": [], |
| 20 |
"implements": [], |
| 21 |
"mixins": [], |
| 22 |
"body": { |
| 23 |
"type": "ObjectTypeAnnotation", |
| 24 |
"start":16,"end":62,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":5,"column":1,"index":62}}, |
| 25 |
"callProperties": [], |
| 26 |
"properties": [ |
| 27 |
{ |
| 28 |
"type": "ObjectTypeProperty", |
| 29 |
"start":19,"end":28,"loc":{"start":{"line":2,"column":1,"index":19},"end":{"line":2,"column":10,"index":28}}, |
| 30 |
"key": { |
| 31 |
"type": "Identifier", |
| 32 |
"start":19,"end":20,"loc":{"start":{"line":2,"column":1,"index":19},"end":{"line":2,"column":2,"index":20},"identifierName":"a"}, |
| 33 |
"name": "a" |
| 34 |
}, |
| 35 |
"static": false, |
| 36 |
"proto": false, |
| 37 |
"kind": "init", |
| 38 |
"method": false, |
| 39 |
"value": { |
| 40 |
"type": "NumberTypeAnnotation", |
| 41 |
"start":22,"end":28,"loc":{"start":{"line":2,"column":4,"index":22},"end":{"line":2,"column":10,"index":28}} |
| 42 |
}, |
| 43 |
"variance": null, |
| 44 |
"optional": false |
| 45 |
}, |
| 46 |
{ |
| 47 |
"type": "ObjectTypeProperty", |
| 48 |
"start":31,"end":47,"loc":{"start":{"line":3,"column":1,"index":31},"end":{"line":3,"column":17,"index":47}}, |
| 49 |
"key": { |
| 50 |
"type": "Identifier", |
| 51 |
"start":38,"end":39,"loc":{"start":{"line":3,"column":8,"index":38},"end":{"line":3,"column":9,"index":39},"identifierName":"b"}, |
| 52 |
"name": "b" |
| 53 |
}, |
| 54 |
"static": true, |
| 55 |
"proto": false, |
| 56 |
"kind": "init", |
| 57 |
"method": false, |
| 58 |
"value": { |
| 59 |
"type": "NumberTypeAnnotation", |
| 60 |
"start":41,"end":47,"loc":{"start":{"line":3,"column":11,"index":41},"end":{"line":3,"column":17,"index":47}} |
| 61 |
}, |
| 62 |
"variance": null, |
| 63 |
"optional": false |
| 64 |
}, |
| 65 |
{ |
| 66 |
"type": "ObjectTypeProperty", |
| 67 |
"start":50,"end":59,"loc":{"start":{"line":4,"column":1,"index":50},"end":{"line":4,"column":10,"index":59}}, |
| 68 |
"key": { |
| 69 |
"type": "Identifier", |
| 70 |
"start":50,"end":51,"loc":{"start":{"line":4,"column":1,"index":50},"end":{"line":4,"column":2,"index":51},"identifierName":"c"}, |
| 71 |
"name": "c" |
| 72 |
}, |
| 73 |
"static": false, |
| 74 |
"proto": false, |
| 75 |
"kind": "init", |
| 76 |
"method": false, |
| 77 |
"value": { |
| 78 |
"type": "NumberTypeAnnotation", |
| 79 |
"start":53,"end":59,"loc":{"start":{"line":4,"column":4,"index":53},"end":{"line":4,"column":10,"index":59}} |
| 80 |
}, |
| 81 |
"variance": null, |
| 82 |
"optional": false |
| 83 |
} |
| 84 |
], |
| 85 |
"indexers": [], |
| 86 |
"internalSlots": [], |
| 87 |
"exact": false |
| 88 |
} |
| 89 |
} |
| 90 |
], |
| 91 |
"directives": [] |
| 92 |
} |
| 93 |
} |