87 lines
3.6 KiB
JSON
87 lines
3.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":42,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":42}},
|
|
"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":14,"end":42,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":42}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":16,"end":40,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":40}},
|
|
"expression": {
|
|
"type": "SequenceExpression",
|
|
"start":16,"end":40,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":40}},
|
|
"expressions": [
|
|
{
|
|
"type": "YieldExpression",
|
|
"start":16,"end":25,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":25}},
|
|
"delegate": false,
|
|
"argument": {
|
|
"type": "AssignmentExpression",
|
|
"start":22,"end":25,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":25}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":22,"end":23,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":23},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":24,"end":25,"loc":{"start":{"line":1,"column":24},"end":{"line":1,"column":25},"identifierName":"b"},
|
|
"name": "b"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "YieldExpression",
|
|
"start":27,"end":37,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":37}},
|
|
"delegate": true,
|
|
"argument": {
|
|
"type": "AssignmentExpression",
|
|
"start":34,"end":37,"loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":37}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":34,"end":35,"loc":{"start":{"line":1,"column":34},"end":{"line":1,"column":35},"identifierName":"c"},
|
|
"name": "c"
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"start":36,"end":37,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":37},"identifierName":"d"},
|
|
"name": "d"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start":39,"end":40,"loc":{"start":{"line":1,"column":39},"end":{"line":1,"column":40},"identifierName":"e"},
|
|
"name": "e"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |