2019-01-23 14:33:23 -08:00

175 lines
4.1 KiB
JSON

{
"type": "File",
"start": 0,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 34
}
},
"program": {
"type": "Program",
"start": 0,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 34
}
},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "FunctionDeclaration",
"start": 0,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 10,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "f2"
},
"name": "f2"
},
"generator": true,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 15,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 34
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 17,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 32
}
},
"expression": {
"type": "ArrowFunctionExpression",
"start": 17,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 32
}
},
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "BinaryExpression",
"start": 23,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 23,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 28
},
"identifierName": "yield"
},
"name": "yield"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 31,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 32
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
}
],
"directives": []
}
}
],
"directives": []
}
}