66 lines
2.5 KiB
JSON
66 lines
2.5 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":44,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":44,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":44,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":44}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":10,"end":11,"loc":{"start":{"line":1,"column":10},"end":{"line":1,"column":11},"identifierName":"g"},
|
|
"name": "g"
|
|
},
|
|
"generator": true,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":13,"end":44,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":44}},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":15,"end":42,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":42}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":19,"end":41,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":41}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":19,"end":20,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20},"identifierName":"y"},
|
|
"name": "y"
|
|
},
|
|
"init": {
|
|
"type": "FunctionExpression",
|
|
"start":23,"end":41,"loc":{"start":{"line":1,"column":23},"end":{"line":1,"column":41}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":32,"end":37,"loc":{"start":{"line":1,"column":32},"end":{"line":1,"column":37},"identifierName":"yield"},
|
|
"name": "yield"
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":39,"end":41,"loc":{"start":{"line":1,"column":39},"end":{"line":1,"column":41}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"kind": "var"
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |