mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
62 lines
2.6 KiB
JSON
62 lines
2.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":6,"end":28,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":28,"index":28}},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"start":6,"end":22,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":22,"index":22}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":8,"end":20,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":20,"index":20}},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"method": false,
|
|
"shorthand": true,
|
|
"value": {
|
|
"type": "AssignmentPattern",
|
|
"start":8,"end":20,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":20,"index":20}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start":16,"end":20,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":20,"index":20}},
|
|
"value": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"init": {
|
|
"type": "Identifier",
|
|
"start":25,"end":28,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":28,"index":28},"identifierName":"foo"},
|
|
"name": "foo"
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|