Files

97 lines
3.7 KiB
JSON

{
"type": "File",
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":62}},
"program": {
"type": "Program",
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":62}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "DeclareClass",
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":62}},
"id": {
"type": "Identifier",
"start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"X"},
"name": "X"
},
"typeParameters": null,
"extends": [],
"implements": [],
"mixins": [],
"body": {
"type": "ObjectTypeAnnotation",
"start":16,"end":62,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":5,"column":1,"index":62}},
"callProperties": [],
"properties": [
{
"type": "ObjectTypeProperty",
"start":19,"end":28,"loc":{"start":{"line":2,"column":1,"index":19},"end":{"line":2,"column":10,"index":28}},
"key": {
"type": "Identifier",
"start":19,"end":20,"loc":{"start":{"line":2,"column":1,"index":19},"end":{"line":2,"column":2,"index":20},"identifierName":"a"},
"name": "a"
},
"static": false,
"proto": false,
"kind": "init",
"method": false,
"value": {
"type": "NumberTypeAnnotation",
"start":22,"end":28,"loc":{"start":{"line":2,"column":4,"index":22},"end":{"line":2,"column":10,"index":28}}
},
"variance": null,
"optional": false
},
{
"type": "ObjectTypeProperty",
"start":31,"end":47,"loc":{"start":{"line":3,"column":1,"index":31},"end":{"line":3,"column":17,"index":47}},
"key": {
"type": "Identifier",
"start":38,"end":39,"loc":{"start":{"line":3,"column":8,"index":38},"end":{"line":3,"column":9,"index":39},"identifierName":"b"},
"name": "b"
},
"static": true,
"proto": false,
"kind": "init",
"method": false,
"value": {
"type": "NumberTypeAnnotation",
"start":41,"end":47,"loc":{"start":{"line":3,"column":11,"index":41},"end":{"line":3,"column":17,"index":47}}
},
"variance": null,
"optional": false
},
{
"type": "ObjectTypeProperty",
"start":50,"end":59,"loc":{"start":{"line":4,"column":1,"index":50},"end":{"line":4,"column":10,"index":59}},
"key": {
"type": "Identifier",
"start":50,"end":51,"loc":{"start":{"line":4,"column":1,"index":50},"end":{"line":4,"column":2,"index":51},"identifierName":"c"},
"name": "c"
},
"static": false,
"proto": false,
"kind": "init",
"method": false,
"value": {
"type": "NumberTypeAnnotation",
"start":53,"end":59,"loc":{"start":{"line":4,"column":4,"index":53},"end":{"line":4,"column":10,"index":59}}
},
"variance": null,
"optional": false
}
],
"indexers": [],
"internalSlots": [],
"exact": false
}
}
],
"directives": [],
"extra": {
"topLevelAwait": false
}
}
}