export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 1 } }, "range": [ 0, 118 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 11, "column": 1 } }, "range": [ 0, 118 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 } }, "range": [ 6, 7 ], "name": "C" }, "superClass": null, "body": { "type": "ClassBody", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 11, "column": 1 } }, "range": [ 8, 118 ], "body": [ { "type": "MethodDefinition", "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 4, "column": 11 } }, "range": [ 59, 74 ], "static": false, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 7 } }, "range": [ 67, 70 ], "name": "get" }, "kind": "get", "value": { "type": "FunctionExpression", "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 11 } }, "range": [ 70, 74 ], "id": null, "expression": false, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 11 } }, "range": [ 72, 74 ], "body": [] } } }, { "type": "MethodDefinition", "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 7, "column": 12 } }, "range": [ 80, 96 ], "static": false, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 7 } }, "range": [ 88, 91 ], "name": "set" }, "kind": "set", "value": { "type": "FunctionExpression", "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 12 } }, "range": [ 91, 96 ], "id": null, "expression": false, "generator": false, "async": false, "params": [ { "type": "Identifier", "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 9 } }, "range": [ 92, 93 ], "name": "x" } ], "body": { "type": "BlockStatement", "loc": { "start": { "line": 7, "column": 10 }, "end": { "line": 7, "column": 12 } }, "range": [ 94, 96 ], "body": [] } } }, { "type": "MethodDefinition", "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 10, "column": 12 } }, "range": [ 102, 116 ], "static": false, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 8 } }, "range": [ 108, 112 ], "name": "star" }, "kind": "method", "value": { "type": "FunctionExpression", "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 12 } }, "range": [ 112, 116 ], "id": null, "expression": false, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 10, "column": 10 }, "end": { "line": 10, "column": 12 } }, "range": [ 114, 116 ], "body": [] } } } ] } } ], "sourceType": "script", "tokens": [ { "type": "Keyword", "value": "class", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 5 } }, "range": [ 0, 5 ] }, { "type": "Identifier", "value": "C", "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 } }, "range": [ 6, 7 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 9 } }, "range": [ 8, 9 ] }, { "type": "Identifier", "value": "get", "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 7 } }, "range": [ 59, 62 ] }, { "type": "Identifier", "value": "get", "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 7 } }, "range": [ 67, 70 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 8 } }, "range": [ 70, 71 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 4, "column": 8 }, "end": { "line": 4, "column": 9 } }, "range": [ 71, 72 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 10 } }, "range": [ 72, 73 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 4, "column": 10 }, "end": { "line": 4, "column": 11 } }, "range": [ 73, 74 ] }, { "type": "Identifier", "value": "set", "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 7 } }, "range": [ 80, 83 ] }, { "type": "Identifier", "value": "set", "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 7 } }, "range": [ 88, 91 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 8 } }, "range": [ 91, 92 ] }, { "type": "Identifier", "value": "x", "loc": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 9 } }, "range": [ 92, 93 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 10 } }, "range": [ 93, 94 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 7, "column": 10 }, "end": { "line": 7, "column": 11 } }, "range": [ 94, 95 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 7, "column": 11 }, "end": { "line": 7, "column": 12 } }, "range": [ 95, 96 ] }, { "type": "Punctuator", "value": "*", "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 5 } }, "range": [ 102, 103 ] }, { "type": "Identifier", "value": "star", "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 8 } }, "range": [ 108, 112 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 9 } }, "range": [ 112, 113 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 10 } }, "range": [ 113, 114 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 10, "column": 10 }, "end": { "line": 10, "column": 11 } }, "range": [ 114, 115 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 10, "column": 11 }, "end": { "line": 10, "column": 12 } }, "range": [ 115, 116 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 1 } }, "range": [ 117, 118 ] } ] };