{ "type": "File", "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}, "program": { "type": "Program", "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}, "sourceType": "module", "interpreter": null, "body": [ { "type": "DeclareClass", "start":0,"end":37,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":37,"index":37}}, "id": { "type": "Identifier", "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"C"}, "name": "C" }, "typeParameters": null, "extends": [], "implements": [], "mixins": [], "body": { "type": "ObjectTypeAnnotation", "start":16,"end":37,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":37,"index":37}}, "callProperties": [], "properties": [], "indexers": [], "internalSlots": [ { "type": "ObjectTypeInternalSlot", "start":18,"end":35,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":35,"index":35}}, "static": true, "id": { "type": "Identifier", "start":27,"end":30,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":30,"index":30},"identifierName":"foo"}, "name": "foo" }, "method": false, "value": { "type": "GenericTypeAnnotation", "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35}}, "typeParameters": null, "id": { "type": "Identifier", "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"T"}, "name": "T" } } } ], "exact": false } } ], "directives": [] } }