{ "type": "File", "start":0,"end":158,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":158}}, "program": { "type": "Program", "start":0,"end":158,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":158}}, "sourceType": "module", "interpreter": null, "body": [ { "type": "DeclareClass", "start":0,"end":158,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":158}}, "id": { "type": "Identifier", "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"B"}, "name": "B" }, "typeParameters": null, "extends": [], "implements": [], "mixins": [], "body": { "type": "ObjectTypeAnnotation", "start":16,"end":158,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":8,"column":1,"index":158}}, "callProperties": [], "properties": [ { "type": "ObjectTypeProperty", "start":20,"end":35,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":17,"index":35}}, "key": { "type": "Identifier", "start":24,"end":25,"loc":{"start":{"line":2,"column":6,"index":24},"end":{"line":2,"column":7,"index":25},"identifierName":"a"}, "name": "a" }, "static": false, "proto": false, "kind": "get", "method": true, "value": { "type": "FunctionTypeAnnotation", "start":20,"end":35,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":2,"column":17,"index":35}}, "params": [], "rest": null, "typeParameters": null, "this": null, "returnType": { "type": "NumberTypeAnnotation", "start":29,"end":35,"loc":{"start":{"line":2,"column":11,"index":29},"end":{"line":2,"column":17,"index":35}} } }, "optional": false }, { "type": "ObjectTypeProperty", "start":39,"end":61,"loc":{"start":{"line":3,"column":2,"index":39},"end":{"line":3,"column":24,"index":61}}, "key": { "type": "Identifier", "start":43,"end":44,"loc":{"start":{"line":3,"column":6,"index":43},"end":{"line":3,"column":7,"index":44},"identifierName":"b"}, "name": "b" }, "static": false, "proto": false, "kind": "set", "method": true, "value": { "type": "FunctionTypeAnnotation", "start":39,"end":61,"loc":{"start":{"line":3,"column":2,"index":39},"end":{"line":3,"column":24,"index":61}}, "params": [ { "type": "FunctionTypeParam", "start":45,"end":54,"loc":{"start":{"line":3,"column":8,"index":45},"end":{"line":3,"column":17,"index":54}}, "name": { "type": "Identifier", "start":45,"end":46,"loc":{"start":{"line":3,"column":8,"index":45},"end":{"line":3,"column":9,"index":46},"identifierName":"a"}, "name": "a" }, "optional": false, "typeAnnotation": { "type": "NumberTypeAnnotation", "start":48,"end":54,"loc":{"start":{"line":3,"column":11,"index":48},"end":{"line":3,"column":17,"index":54}} } } ], "rest": null, "typeParameters": null, "this": null, "returnType": { "type": "VoidTypeAnnotation", "start":57,"end":61,"loc":{"start":{"line":3,"column":20,"index":57},"end":{"line":3,"column":24,"index":61}} } }, "optional": false }, { "type": "ObjectTypeProperty", "start":65,"end":82,"loc":{"start":{"line":4,"column":2,"index":65},"end":{"line":4,"column":19,"index":82}}, "key": { "type": "StringLiteral", "start":69,"end":72,"loc":{"start":{"line":4,"column":6,"index":69},"end":{"line":4,"column":9,"index":72}}, "extra": { "rawValue": "c", "raw": "\"c\"" }, "value": "c" }, "static": false, "proto": false, "kind": "get", "method": true, "value": { "type": "FunctionTypeAnnotation", "start":65,"end":82,"loc":{"start":{"line":4,"column":2,"index":65},"end":{"line":4,"column":19,"index":82}}, "params": [], "rest": null, "typeParameters": null, "this": null, "returnType": { "type": "NumberTypeAnnotation", "start":76,"end":82,"loc":{"start":{"line":4,"column":13,"index":76},"end":{"line":4,"column":19,"index":82}} } }, "optional": false }, { "type": "ObjectTypeProperty", "start":86,"end":110,"loc":{"start":{"line":5,"column":2,"index":86},"end":{"line":5,"column":26,"index":110}}, "key": { "type": "StringLiteral", "start":90,"end":93,"loc":{"start":{"line":5,"column":6,"index":90},"end":{"line":5,"column":9,"index":93}}, "extra": { "rawValue": "d", "raw": "\"d\"" }, "value": "d" }, "static": false, "proto": false, "kind": "set", "method": true, "value": { "type": "FunctionTypeAnnotation", "start":86,"end":110,"loc":{"start":{"line":5,"column":2,"index":86},"end":{"line":5,"column":26,"index":110}}, "params": [ { "type": "FunctionTypeParam", "start":94,"end":103,"loc":{"start":{"line":5,"column":10,"index":94},"end":{"line":5,"column":19,"index":103}}, "name": { "type": "Identifier", "start":94,"end":95,"loc":{"start":{"line":5,"column":10,"index":94},"end":{"line":5,"column":11,"index":95},"identifierName":"a"}, "name": "a" }, "optional": false, "typeAnnotation": { "type": "NumberTypeAnnotation", "start":97,"end":103,"loc":{"start":{"line":5,"column":13,"index":97},"end":{"line":5,"column":19,"index":103}} } } ], "rest": null, "typeParameters": null, "this": null, "returnType": { "type": "VoidTypeAnnotation", "start":106,"end":110,"loc":{"start":{"line":5,"column":22,"index":106},"end":{"line":5,"column":26,"index":110}} } }, "optional": false }, { "type": "ObjectTypeProperty", "start":114,"end":129,"loc":{"start":{"line":6,"column":2,"index":114},"end":{"line":6,"column":17,"index":129}}, "key": { "type": "NumericLiteral", "start":118,"end":119,"loc":{"start":{"line":6,"column":6,"index":118},"end":{"line":6,"column":7,"index":119}}, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "static": false, "proto": false, "kind": "get", "method": true, "value": { "type": "FunctionTypeAnnotation", "start":114,"end":129,"loc":{"start":{"line":6,"column":2,"index":114},"end":{"line":6,"column":17,"index":129}}, "params": [], "rest": null, "typeParameters": null, "this": null, "returnType": { "type": "NumberTypeAnnotation", "start":123,"end":129,"loc":{"start":{"line":6,"column":11,"index":123},"end":{"line":6,"column":17,"index":129}} } }, "optional": false }, { "type": "ObjectTypeProperty", "start":133,"end":155,"loc":{"start":{"line":7,"column":2,"index":133},"end":{"line":7,"column":24,"index":155}}, "key": { "type": "NumericLiteral", "start":137,"end":138,"loc":{"start":{"line":7,"column":6,"index":137},"end":{"line":7,"column":7,"index":138}}, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "static": false, "proto": false, "kind": "set", "method": true, "value": { "type": "FunctionTypeAnnotation", "start":133,"end":155,"loc":{"start":{"line":7,"column":2,"index":133},"end":{"line":7,"column":24,"index":155}}, "params": [ { "type": "FunctionTypeParam", "start":139,"end":148,"loc":{"start":{"line":7,"column":8,"index":139},"end":{"line":7,"column":17,"index":148}}, "name": { "type": "Identifier", "start":139,"end":140,"loc":{"start":{"line":7,"column":8,"index":139},"end":{"line":7,"column":9,"index":140},"identifierName":"a"}, "name": "a" }, "optional": false, "typeAnnotation": { "type": "NumberTypeAnnotation", "start":142,"end":148,"loc":{"start":{"line":7,"column":11,"index":142},"end":{"line":7,"column":17,"index":148}} } } ], "rest": null, "typeParameters": null, "this": null, "returnType": { "type": "VoidTypeAnnotation", "start":151,"end":155,"loc":{"start":{"line":7,"column":20,"index":151},"end":{"line":7,"column":24,"index":155}} } }, "optional": false } ], "indexers": [], "internalSlots": [], "exact": false } } ], "directives": [] } }