mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
64 lines
2.5 KiB
JSON
64 lines
2.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":34,"index":34}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12},"identifierName":"f2"},
|
|
"name": "f2"
|
|
},
|
|
"generator": true,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":15,"end":34,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":34,"index":34}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":17,"end":32,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":32,"index":32}},
|
|
"expression": {
|
|
"type": "ArrowFunctionExpression",
|
|
"start":17,"end":32,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":32,"index":32}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BinaryExpression",
|
|
"start":23,"end":32,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":32,"index":32}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":23,"end":28,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":28,"index":28},"identifierName":"yield"},
|
|
"name": "yield"
|
|
},
|
|
"operator": "/",
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"start":31,"end":32,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":32,"index":32}},
|
|
"extra": {
|
|
"rawValue": 1,
|
|
"raw": "1"
|
|
},
|
|
"value": 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|