61 lines
2.1 KiB
JSON
61 lines
2.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "InterfaceDeclaration",
|
|
"start":0,"end":32,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":32}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":10,"end":11,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11},"identifierName":"A"},
|
|
"name": "A"
|
|
},
|
|
"typeParameters": null,
|
|
"extends": [],
|
|
"implements": [],
|
|
"mixins": [],
|
|
"body": {
|
|
"type": "ObjectTypeAnnotation",
|
|
"start":12,"end":32,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":32}},
|
|
"callProperties": [],
|
|
"properties": [
|
|
{
|
|
"type": "ObjectTypeProperty",
|
|
"start":14,"end":30,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":30}},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":14,"end":20,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":20},"identifierName":"static"},
|
|
"name": "static"
|
|
},
|
|
"static": false,
|
|
"proto": false,
|
|
"kind": "init",
|
|
"method": true,
|
|
"value": {
|
|
"type": "FunctionTypeAnnotation",
|
|
"start":14,"end":30,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":30}},
|
|
"params": [],
|
|
"rest": null,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "NumberTypeAnnotation",
|
|
"start":24,"end":30,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":30}}
|
|
}
|
|
},
|
|
"optional": false
|
|
}
|
|
],
|
|
"indexers": [],
|
|
"internalSlots": [],
|
|
"exact": false
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |