mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
94 lines
4.1 KiB
JSON
94 lines
4.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
|
|
"expression": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start":0,"end":35,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":35,"index":35}},
|
|
"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":35,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":35,"index":35}},
|
|
"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":35,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":35,"index":35}},
|
|
"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": "ClassExpression",
|
|
"start":15,"end":35,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":35,"index":35}},
|
|
"id": null,
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":21,"end":35,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":35,"index":35}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":23,"end":33,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":33,"index":33}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":23,"end":24,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":24,"index":24},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"computed": false,
|
|
"value": {
|
|
"type": "BinaryExpression",
|
|
"start":27,"end":33,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":33,"index":33}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":27,"end":28,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":28,"index":28},"identifierName":"y"},
|
|
"name": "y"
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":32,"end":33,"loc":{"start":{"line":1,"column":32,"index":32},"end":{"line":1,"column":33,"index":33},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|