Files

74 lines
2.8 KiB
JSON

{
"type": "File",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
"program": {
"type": "Program",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ClassDeclaration",
"start":0,"end":51,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":51,"index":51}},
"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":51,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":51,"index":51}},
"body": [
{
"type": "ClassMethod",
"start":10,"end":29,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":29,"index":29}},
"static": true,
"key": {
"type": "Identifier",
"start":21,"end":24,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":24,"index":24},"identifierName":"foo"},
"name": "foo"
},
"computed": false,
"kind": "get",
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":27,"end":29,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":29,"index":29}},
"body": [],
"directives": []
}
},
{
"type": "ClassMethod",
"start":30,"end":49,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":49,"index":49}},
"static": true,
"key": {
"type": "Identifier",
"start":41,"end":44,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":44,"index":44},"identifierName":"bar"},
"name": "bar"
},
"computed": false,
"kind": "get",
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start":47,"end":49,"loc":{"start":{"line":1,"column":47,"index":47},"end":{"line":1,"column":49,"index":49}},
"body": [],
"directives": []
}
}
]
}
}
],
"directives": []
}
}