mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
88 lines
4.0 KiB
JSON
88 lines
4.0 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"g"},
|
|
"name": "g"
|
|
},
|
|
"generator": true,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":14,"end":42,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":42,"index":42}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":16,"end":40,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":40,"index":40}},
|
|
"expression": {
|
|
"type": "SequenceExpression",
|
|
"start":16,"end":40,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":40,"index":40}},
|
|
"expressions": [
|
|
{
|
|
"type": "YieldExpression",
|
|
"start":16,"end":25,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":25,"index":25}},
|
|
"delegate": false,
|
|
"argument": {
|
|
"type": "AssignmentExpression",
|
|
"start":22,"end":25,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":25,"index":25}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"b"},
|
|
"name": "b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "YieldExpression",
|
|
"start":27,"end":37,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":37,"index":37}},
|
|
"delegate": true,
|
|
"argument": {
|
|
"type": "AssignmentExpression",
|
|
"start":34,"end":37,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":37,"index":37}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"c"},
|
|
"name": "c"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":36,"end":37,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":37,"index":37},"identifierName":"d"},
|
|
"name": "d"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40},"identifierName":"e"},
|
|
"name": "e"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|