mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
66 lines
2.7 KiB
JSON
66 lines
2.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"value"},
|
|
"name": "value"
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "FunctionExpression",
|
|
"start":9,"end":40,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":40,"index":40}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "AssignmentPattern",
|
|
"start":19,"end":25,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":25,"index":25}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":19,"end":20,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":20,"index":20},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"right": {
|
|
"type": "TopicReference",
|
|
"start":23,"end":25,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":25,"index":25}}
|
|
}
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":27,"end":40,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":40,"index":40}},
|
|
"body": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"start":29,"end":38,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":38,"index":38}},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":36,"end":37,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":37,"index":37},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|