| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, |
| 4 | "program": { |
| 5 | "type": "Program", |
| 6 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, |
| 7 | "sourceType": "module", |
| 8 | "interpreter": null, |
| 9 | "body": [ |
| 10 | { |
| 11 | "type": "DeclareClass", |
| 12 | "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}}, |
| 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":"C"}, |
| 16 | "name": "C" |
| 17 | }, |
| 18 | "typeParameters": null, |
| 19 | "extends": [], |
| 20 | "implements": [], |
| 21 | "mixins": [], |
| 22 | "body": { |
| 23 | "type": "ObjectTypeAnnotation", |
| 24 | "start":16,"end":30,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":30,"index":30}}, |
| 25 | "callProperties": [], |
| 26 | "properties": [], |
| 27 | "indexers": [], |
| 28 | "internalSlots": [ |
| 29 | { |
| 30 | "type": "ObjectTypeInternalSlot", |
| 31 | "start":18,"end":28,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":28,"index":28}}, |
| 32 | "static": false, |
| 33 | "id": { |
| 34 | "type": "Identifier", |
| 35 | "start":20,"end":23,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":23,"index":23},"identifierName":"foo"}, |
| 36 | "name": "foo" |
| 37 | }, |
| 38 | "method": false, |
| 39 | "value": { |
| 40 | "type": "GenericTypeAnnotation", |
| 41 | "start":27,"end":28,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":28,"index":28}}, |
| 42 | "typeParameters": null, |
| 43 | "id": { |
| 44 | "type": "Identifier", |
| 45 | "start":27,"end":28,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":28,"index":28},"identifierName":"T"}, |
| 46 | "name": "T" |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | ], |
| 51 | "exact": false |
| 52 | } |
| 53 | } |
| 54 | ], |
| 55 | "directives": [] |
| 56 | } |
| 57 | } |