{ "type": "File", "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":53}}, "errors": [ "SyntaxError: 'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]). (3:15)" ], "program": { "type": "Program", "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":53}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "VariableDeclaration", "start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":53}}, "declarations": [ { "type": "VariableDeclarator", "start":6,"end":53,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":5,"column":1,"index":53}}, "id": { "type": "Identifier", "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"a"}, "name": "a" }, "init": { "type": "ObjectExpression", "start":10,"end":53,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":5,"column":1,"index":53}}, "properties": [ { "type": "ObjectMethod", "start":16,"end":51,"loc":{"start":{"line":2,"column":4,"index":16},"end":{"line":4,"column":5,"index":51}}, "method": true, "key": { "type": "Identifier", "start":16,"end":17,"loc":{"start":{"line":2,"column":4,"index":16},"end":{"line":2,"column":5,"index":17},"identifierName":"b"}, "name": "b" }, "computed": false, "kind": "method", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":19,"end":51,"loc":{"start":{"line":2,"column":7,"index":19},"end":{"line":4,"column":5,"index":51}}, "body": [ { "type": "ReturnStatement", "start":29,"end":45,"loc":{"start":{"line":3,"column":8,"index":29},"end":{"line":3,"column":24,"index":45}}, "argument": { "type": "OptionalMemberExpression", "start":36,"end":44,"loc":{"start":{"line":3,"column":15,"index":36},"end":{"line":3,"column":23,"index":44}}, "object": { "type": "Super", "start":36,"end":41,"loc":{"start":{"line":3,"column":15,"index":36},"end":{"line":3,"column":20,"index":41}} }, "computed": false, "property": { "type": "Identifier", "start":43,"end":44,"loc":{"start":{"line":3,"column":22,"index":43},"end":{"line":3,"column":23,"index":44},"identifierName":"c"}, "name": "c" }, "optional": true } } ], "directives": [] } } ] } } ], "kind": "const" } ], "directives": [] } }