{ "type": "File", "start": 0, "end": 38, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 38 } }, "range": [ 0, 38 ], "program": { "type": "Program", "start": 0, "end": 38, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 38 } }, "range": [ 0, 38 ], "sourceType": "script", "body": [ { "type": "ClassDeclaration", "start": 0, "end": 38, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 38 } }, "range": [ 0, 38 ], "id": { "type": "Identifier", "start": 6, "end": 7, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 } }, "range": [ 6, 7 ], "name": "A" }, "superClass": null, "body": { "type": "ClassBody", "start": 8, "end": 38, "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 38 } }, "range": [ 8, 38 ], "body": [ { "type": "MethodDefinition", "start": 10, "end": 23, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 23 } }, "range": [ 10, 23 ], "computed": false, "key": { "type": "Identifier", "start": 14, "end": 17, "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 17 } }, "range": [ 14, 17 ], "name": "foo" }, "static": false, "kind": "set", "value": { "type": "FunctionExpression", "start": 17, "end": 23, "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 23 } }, "range": [ 17, 23 ], "id": null, "generator": false, "expression": false, "params": [ { "type": "Identifier", "start": 18, "end": 19, "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 19 } }, "range": [ 18, 19 ], "name": "v" } ], "body": { "type": "BlockStatement", "start": 21, "end": 23, "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 23 } }, "range": [ 21, 23 ], "body": [] } } }, { "type": "MethodDefinition", "start": 24, "end": 36, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 36 } }, "range": [ 24, 36 ], "computed": false, "key": { "type": "Identifier", "start": 28, "end": 31, "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 31 } }, "range": [ 28, 31 ], "name": "foo" }, "static": false, "kind": "get", "value": { "type": "FunctionExpression", "start": 31, "end": 36, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 36 } }, "range": [ 31, 36 ], "id": null, "generator": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "start": 34, "end": 36, "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 36 } }, "range": [ 34, 36 ], "body": [] } } } ] } } ] } }