mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
78 lines
2.9 KiB
JSON
78 lines
2.9 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
|
|
"expression": {
|
|
"type": "ObjectExpression",
|
|
"start":1,"end":30,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":30,"index":30}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":2,"end":14,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":14,"index":14}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":7,"end":8,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":8,"index":8},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"computed": true,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":12,"end":14,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":14,"index":14}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ObjectMethod",
|
|
"start":16,"end":29,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":29,"index":29}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":21,"end":22,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":22,"index":22},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"computed": true,
|
|
"kind": "set",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"v"},
|
|
"name": "v"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":27,"end":29,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":29,"index":29}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|