118 lines
4.7 KiB
JSON
118 lines
4.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"expression": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BinaryExpression",
|
|
"start":5,"end":36,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":36}},
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"start":5,"end":22,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":22}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":5,"end":6,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":6},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "ArrayExpression",
|
|
"start":10,"end":22,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":22}},
|
|
"elements": [
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start":11,"end":21,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":21}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":11,"end":12,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":12},"identifierName":"y"},
|
|
"name": "y"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BinaryExpression",
|
|
"start":16,"end":21,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":21}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":16,"end":17,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":17},"identifierName":"y"},
|
|
"name": "y"
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":20,"end":21,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":21}},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start":26,"end":36,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":36}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":26,"end":27,"loc":{"start":{"line":1,"column":26},"end":{"line":1,"column":27},"identifierName":"z"},
|
|
"name": "z"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BinaryExpression",
|
|
"start":31,"end":36,"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":36}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":31,"end":32,"loc":{"start":{"line":1,"column":31},"end":{"line":1,"column":32},"identifierName":"z"},
|
|
"name": "z"
|
|
},
|
|
"operator": "*",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":35,"end":36,"loc":{"start":{"line":1,"column":35},"end":{"line":1,"column":36}},
|
|
"extra": {
|
|
"rawValue": 2,
|
|
"raw": "2"
|
|
},
|
|
"value": 2
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |