mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
50 lines
1.8 KiB
JSON
50 lines
1.8 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":15,"index":22}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":22,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":15,"index":22}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "TopicReference",
|
|
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6}}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":7,"end":22,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":15,"index":22}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":16,"end":17,"loc":{"start":{"line":2,"column":9,"index":16},"end":{"line":2,"column":10,"index":17},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":20,"end":22,"loc":{"start":{"line":2,"column":13,"index":20},"end":{"line":2,"column":15,"index":22}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|