2015-08-11 00:59:15 +01:00

260 lines
7.0 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",
"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
}
},
"name": "g"
},
"generator": true,
"expression": 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
}
},
"name": "a"
},
"right": {
"type": "Identifier",
"start": 24,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 25
}
},
"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
}
},
"name": "c"
},
"right": {
"type": "Identifier",
"start": 36,
"end": 37,
"loc": {
"start": {
"line": 1,
"column": 36
},
"end": {
"line": 1,
"column": 37
}
},
"name": "d"
}
}
},
{
"type": "Identifier",
"start": 39,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 39
},
"end": {
"line": 1,
"column": 40
}
},
"name": "e"
}
]
}
}
]
}
}
]
}
}