mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
57 lines
2.3 KiB
JSON
57 lines
2.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":18,"index":45}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":18,"index":45}},
|
|
"sourceType": "script",
|
|
"interpreter": {
|
|
"type": "InterpreterDirective",
|
|
"start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
|
|
"value": "/usr/bin/env babel-node"
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":27,"end":45,"loc":{"start":{"line":3,"column":0,"index":27},"end":{"line":3,"column":18,"index":45}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":31,"end":44,"loc":{"start":{"line":3,"column":4,"index":31},"end":{"line":3,"column":17,"index":44}},
|
|
"id": {
|
|
"type": "ObjectPattern",
|
|
"start":31,"end":40,"loc":{"start":{"line":3,"column":4,"index":31},"end":{"line":3,"column":13,"index":40}},
|
|
"properties": [
|
|
{
|
|
"type": "ObjectProperty",
|
|
"start":33,"end":38,"loc":{"start":{"line":3,"column":6,"index":33},"end":{"line":3,"column":11,"index":38}},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":33,"end":38,"loc":{"start":{"line":3,"column":6,"index":33},"end":{"line":3,"column":11,"index":38},"identifierName":"spawn"},
|
|
"name": "spawn"
|
|
},
|
|
"computed": false,
|
|
"method": false,
|
|
"shorthand": true,
|
|
"value": {
|
|
"type": "Identifier",
|
|
"start":33,"end":38,"loc":{"start":{"line":3,"column":6,"index":33},"end":{"line":3,"column":11,"index":38},"identifierName":"spawn"},
|
|
"name": "spawn"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"init": {
|
|
"type": "Identifier",
|
|
"start":43,"end":44,"loc":{"start":{"line":3,"column":16,"index":43},"end":{"line":3,"column":17,"index":44},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
}
|
|
],
|
|
"kind": "var"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|