Files

83 lines
3.2 KiB
JSON

{
"type": "File",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":51}},
"program": {
"type": "Program",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":51}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "InterfaceDeclaration",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":51}},
"id": {
"type": "Identifier",
"start":10,"end":14,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":14,"index":14},"identifierName":"IFoo"},
"name": "IFoo"
},
"typeParameters": null,
"extends": [],
"body": {
"type": "ObjectTypeAnnotation",
"start":15,"end":51,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":4,"column":1,"index":51}},
"callProperties": [],
"properties": [
{
"type": "ObjectTypeProperty",
"start":19,"end":29,"loc":{"start":{"line":2,"column":2,"index":19},"end":{"line":2,"column":12,"index":29}},
"key": {
"type": "Identifier",
"start":19,"end":20,"loc":{"start":{"line":2,"column":2,"index":19},"end":{"line":2,"column":3,"index":20},"identifierName":"x"},
"name": "x"
},
"static": false,
"proto": false,
"kind": "init",
"method": false,
"value": {
"type": "BooleanTypeAnnotation",
"start":22,"end":29,"loc":{"start":{"line":2,"column":5,"index":22},"end":{"line":2,"column":12,"index":29}}
},
"variance": null,
"optional": false
},
{
"type": "ObjectTypeProperty",
"start":33,"end":48,"loc":{"start":{"line":3,"column":2,"index":33},"end":{"line":3,"column":17,"index":48}},
"key": {
"type": "Identifier",
"start":33,"end":39,"loc":{"start":{"line":3,"column":2,"index":33},"end":{"line":3,"column":8,"index":39},"identifierName":"static"},
"name": "static"
},
"static": false,
"proto": false,
"kind": "init",
"method": true,
"value": {
"type": "FunctionTypeAnnotation",
"start":33,"end":48,"loc":{"start":{"line":3,"column":2,"index":33},"end":{"line":3,"column":17,"index":48}},
"params": [],
"rest": null,
"typeParameters": null,
"this": null,
"returnType": {
"type": "VoidTypeAnnotation",
"start":44,"end":48,"loc":{"start":{"line":3,"column":13,"index":44},"end":{"line":3,"column":17,"index":48}}
}
},
"optional": false
}
],
"indexers": [],
"internalSlots": [],
"exact": false
}
}
],
"directives": [],
"extra": {
"topLevelAwait": false
}
}
}