Files

102 lines
4.0 KiB
JSON

{
"type": "File",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
"program": {
"type": "Program",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ClassDeclaration",
"start":0,"end":58,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":58,"index":58}},
"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"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":8,"end":58,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":58,"index":58}},
"body": [
{
"type": "ClassMethod",
"start":9,"end":21,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":21,"index":21}},
"static": true,
"key": {
"type": "Identifier",
"start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"a"},
"name": "a"
},
"computed": false,
"kind": "method",
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":19,"end":21,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":21,"index":21}},
"body": [],
"directives": []
}
},
{
"type": "ClassMethod",
"start":22,"end":38,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":38,"index":38}},
"static": true,
"key": {
"type": "Identifier",
"start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"a"},
"name": "a"
},
"computed": false,
"kind": "get",
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":36,"end":38,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":38,"index":38}},
"body": [],
"directives": []
}
},
{
"type": "ClassMethod",
"start":39,"end":56,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":56,"index":56}},
"static": true,
"key": {
"type": "Identifier",
"start":50,"end":51,"loc":{"start":{"line":1,"column":50,"index":50},"end":{"line":1,"column":51,"index":51},"identifierName":"a"},
"name": "a"
},
"computed": false,
"kind": "set",
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":52,"end":53,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":53,"index":53},"identifierName":"b"},
"name": "b"
}
],
"body": {
"type": "BlockStatement",
"start":54,"end":56,"loc":{"start":{"line":1,"column":54,"index":54},"end":{"line":1,"column":56,"index":56}},
"body": [],
"directives": []
}
}
]
}
}
],
"directives": []
}
}