Files

117 lines
4.9 KiB
JSON

{
"type": "File",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
"program": {
"type": "Program",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
"expression": {
"type": "ArrowFunctionExpression",
"start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
"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":38,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":38,"index":38}},
"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":11,"end":37,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":37,"index":37}},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":11,"end":12,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":12,"index":12},"identifierName":"y"},
"name": "y"
}
],
"body": {
"type": "BinaryExpression",
"start":16,"end":37,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":37,"index":37}},
"left": {
"type": "BinaryExpression",
"start":16,"end":21,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":21,"index":21}},
"left": {
"type": "Identifier",
"start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17},"identifierName":"y"},
"name": "y"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21}},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
},
"operator": "|>",
"right": {
"type": "ArrowFunctionExpression",
"start":26,"end":36,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":36,"index":36}},
"id": null,
"generator": false,
"async": false,
"params": [
{
"type": "Identifier",
"start":26,"end":27,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":27,"index":27},"identifierName":"b"},
"name": "b"
}
],
"body": {
"type": "BinaryExpression",
"start":31,"end":36,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":36,"index":36}},
"left": {
"type": "Identifier",
"start":31,"end":32,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":32,"index":32},"identifierName":"y"},
"name": "y"
},
"operator": "+",
"right": {
"type": "Identifier",
"start":35,"end":36,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":36,"index":36},"identifierName":"b"},
"name": "b"
}
},
"extra": {
"parenthesized": true,
"parenStart": 25
}
}
},
"extra": {
"parenthesized": true,
"parenStart": 10
}
}
}
}
}
],
"directives": []
}
}