Files

82 lines
3.4 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": "ArrowFunctionExpression",
"start":0,"end":40,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":40,"index":40}},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
"name": "x"
}
],
"body": {
"type": "BinaryExpression",
"start":5,"end":40,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":40,"index":40}},
"left": {
"type": "Identifier",
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"x"},
"name": "x"
},
"operator": "|>",
"right": {
"type": "FunctionExpression",
"start":10,"end":40,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":40,"index":40}},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"y"},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start":23,"end":40,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":40,"index":40}},
"body": [
{
"type": "ReturnStatement",
"start":25,"end":38,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":38,"index":38}},
"argument": {
"type": "BinaryExpression",
"start":32,"end":38,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":38,"index":38}},
"left": {
"type": "Identifier",
"start":32,"end":33,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":33,"index":33},"identifierName":"y"},
"name": "y"
},
"operator": "|>",
"right": {
"type": "Identifier",
"start":37,"end":38,"loc":{"start":{"line":1,"column":37,"index":37},"end":{"line":1,"column":38,"index":38},"identifierName":"x"},
"name": "x"
}
}
}
],
"directives": []
}
}
}
}
}
],
"directives": []
}
}