54 lines
1.8 KiB
JSON

{
"type": "File",
"start":0,"end":30,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},
"errors": [
"SyntaxError: Unexpected reserved word 'static'. (1:17)"
],
"program": {
"type": "Program",
"start":0,"end":30,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ClassDeclaration",
"start":0,"end":30,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":30}},
"id": {
"type": "Identifier",
"start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7},"identifierName":"A"},
"name": "A"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":8,"end":30,"loc":{"start":{"line":1,"column":8},"end":{"line":1,"column":30}},
"body": [
{
"type": "ClassMethod",
"start":9,"end":28,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":28}},
"static": true,
"computed": true,
"key": {
"type": "Identifier",
"start":17,"end":23,"loc":{"start":{"line":1,"column":17},"end":{"line":1,"column":23},"identifierName":"static"},
"name": "static"
},
"kind": "method",
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":26,"end":28,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":28}},
"body": [],
"directives": []
}
}
]
}
}
],
"directives": []
}
}