mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
75 lines
3.0 KiB
JSON
75 lines
3.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":21,"index":25}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":21,"index":25}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":21,"index":25}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":8,"end":24,"loc":{"start":{"line":2,"column":4,"index":8},"end":{"line":2,"column":20,"index":24}},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"start":8,"end":13,"loc":{"start":{"line":2,"column":4,"index":8},"end":{"line":2,"column":9,"index":13}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":10,"end":11,"loc":{"start":{"line":2,"column":6,"index":10},"end":{"line":2,"column":7,"index":11}},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":10,"end":11,"loc":{"start":{"line":2,"column":6,"index":10},"end":{"line":2,"column":7,"index":11},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"method": false,
|
|
"shorthand": true,
|
|
"value": {
|
|
"type": "Identifier",
|
|
"start":10,"end":11,"loc":{"start":{"line":2,"column":6,"index":10},"end":{"line":2,"column":7,"index":11},"identifierName":"a"},
|
|
"name": "a"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"start":16,"end":24,"loc":{"start":{"line":2,"column":12,"index":16},"end":{"line":2,"column":20,"index":24}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":18,"end":22,"loc":{"start":{"line":2,"column":14,"index":18},"end":{"line":2,"column":18,"index":22}},
|
|
"method": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":18,"end":19,"loc":{"start":{"line":2,"column":14,"index":18},"end":{"line":2,"column":15,"index":19},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"shorthand": false,
|
|
"value": {
|
|
"type": "NumericLiteral",
|
|
"start":21,"end":22,"loc":{"start":{"line":2,"column":17,"index":21},"end":{"line":2,"column":18,"index":22}},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"kind": "let"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|