mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
57 lines
2.3 KiB
JSON
57 lines
2.3 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
|
|
"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":30,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":30,"index":30}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":16,"end":28,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":28,"index":28}},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start":16,"end":27,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":27,"index":27}},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start":16,"end":25,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":25,"index":25}},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start":16,"end":19,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":19,"index":19},"identifierName":"obj"},
|
|
"name": "obj"
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":20,"end":25,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":25,"index":25},"identifierName":"yield"},
|
|
"name": "yield"
|
|
}
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|