{ "type": "Program", "body": [ { "range": [ 0, 69 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 1 } }, "type": "ClassDeclaration", "id": { "range": [ 6, 7 ], "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 } }, "type": "Identifier", "name": "A" }, "superClass": { "range": [ 16, 17 ], "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 17 } }, "type": "Identifier", "name": "B" }, "body": { "range": [ 18, 69 ], "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 5, "column": 1 } }, "type": "ClassBody", "body": [ { "range": [ 24, 67 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 4, "column": 5 } }, "type": "MethodDefinition", "key": { "range": [ 24, 35 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 15 } }, "type": "Identifier", "name": "constructor" }, "computed": false, "value": { "range": [ 35, 67 ], "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 4, "column": 5 } }, "type": "FunctionExpression", "id": null, "params": [], "body": { "range": [ 38, 67 ], "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 4, "column": 5 } }, "type": "BlockStatement", "body": [ { "range": [ 48, 61 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 21 } }, "type": "ExpressionStatement", "expression": { "range": [ 48, 61 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 21 } }, "type": "ArrowFunctionExpression", "id": null, "params": [], "body": { "range": [ 54, 61 ], "loc": { "start": { "line": 3, "column": 14 }, "end": { "line": 3, "column": 21 } }, "type": "CallExpression", "callee": { "range": [ 54, 59 ], "loc": { "start": { "line": 3, "column": 14 }, "end": { "line": 3, "column": 19 } }, "type": "Super" }, "arguments": [] }, "generator": false, "expression": true, "async": false } } ] }, "generator": false, "expression": false, "async": false }, "kind": "constructor", "static": false } ] } } ], "sourceType": "script", "tokens": [ { "type": "Keyword", "value": "class", "range": [ 0, 5 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 5 } } }, { "type": "Identifier", "value": "A", "range": [ 6, 7 ], "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 } } }, { "type": "Keyword", "value": "extends", "range": [ 8, 15 ], "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 15 } } }, { "type": "Identifier", "value": "B", "range": [ 16, 17 ], "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 17 } } }, { "type": "Punctuator", "value": "{", "range": [ 18, 19 ], "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 19 } } }, { "type": "Identifier", "value": "constructor", "range": [ 24, 35 ], "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 15 } } }, { "type": "Punctuator", "value": "(", "range": [ 35, 36 ], "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 16 } } }, { "type": "Punctuator", "value": ")", "range": [ 36, 37 ], "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 17 } } }, { "type": "Punctuator", "value": "{", "range": [ 38, 39 ], "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 19 } } }, { "type": "Punctuator", "value": "(", "range": [ 48, 49 ], "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 9 } } }, { "type": "Punctuator", "value": ")", "range": [ 49, 50 ], "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } } }, { "type": "Punctuator", "value": "=>", "range": [ 51, 53 ], "loc": { "start": { "line": 3, "column": 11 }, "end": { "line": 3, "column": 13 } } }, { "type": "Keyword", "value": "super", "range": [ 54, 59 ], "loc": { "start": { "line": 3, "column": 14 }, "end": { "line": 3, "column": 19 } } }, { "type": "Punctuator", "value": "(", "range": [ 59, 60 ], "loc": { "start": { "line": 3, "column": 19 }, "end": { "line": 3, "column": 20 } } }, { "type": "Punctuator", "value": ")", "range": [ 60, 61 ], "loc": { "start": { "line": 3, "column": 20 }, "end": { "line": 3, "column": 21 } } }, { "type": "Punctuator", "value": "}", "range": [ 66, 67 ], "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 5 } } }, { "type": "Punctuator", "value": "}", "range": [ 68, 69 ], "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 1 } } } ], "range": [ 0, 69 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 1 } } }