Files

82 lines
3.4 KiB
JSON

{
"type": "File",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
"program": {
"type": "Program",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
"expression": {
"type": "ArrowFunctionExpression",
"start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}},
"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":32,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":32,"index":32}},
"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": "ArrowFunctionExpression",
"start":10,"end":32,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":32,"index":32}},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"y"},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start":15,"end":32,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":32,"index":32}},
"body": [
{
"type": "ReturnStatement",
"start":17,"end":30,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":30,"index":30}},
"argument": {
"type": "BinaryExpression",
"start":24,"end":30,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":30,"index":30}},
"left": {
"type": "Identifier",
"start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"y"},
"name": "y"
},
"operator": "|>",
"right": {
"type": "Identifier",
"start":29,"end":30,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":30,"index":30},"identifierName":"x"},
"name": "x"
}
}
}
],
"directives": []
}
}
}
}
}
],
"directives": []
}
}