mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
98 lines
4.2 KiB
JSON
98 lines
4.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}},
|
|
"left": {
|
|
"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"
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start":6,"end":35,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":35,"index":35}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"$"},
|
|
"name": "$"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BinaryExpression",
|
|
"start":11,"end":35,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":35,"index":35}},
|
|
"left": {
|
|
"type": "TopicReference",
|
|
"start":11,"end":13,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":13,"index":13}}
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start":17,"end":35,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":35,"index":35}},
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"start":17,"end":25,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":25,"index":25}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":17,"end":18,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":18,"index":18},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "TopicReference",
|
|
"start":19,"end":21,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":21,"index":21}}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"$"},
|
|
"name": "$"
|
|
}
|
|
]
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start":29,"end":35,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":35,"index":35}},
|
|
"left": {
|
|
"type": "TopicReference",
|
|
"start":29,"end":31,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":31,"index":31}}
|
|
},
|
|
"operator": ">",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35}},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"extra": {
|
|
"parenthesized": true,
|
|
"parenStart": 5
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|