mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
64 lines
2.4 KiB
JSON
64 lines
2.4 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":27}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":27}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":27}},
|
|
"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":27,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":4,"column":1,"index":27}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":12,"end":17,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":7,"index":17}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":12,"end":17,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":7,"index":17},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":20,"end":25,"loc":{"start":{"line":3,"column":2,"index":20},"end":{"line":3,"column":7,"index":25}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":20,"end":21,"loc":{"start":{"line":3,"column":2,"index":20},"end":{"line":3,"column":3,"index":21},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":23,"end":25,"loc":{"start":{"line":3,"column":5,"index":23},"end":{"line":3,"column":7,"index":25}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|