Sebastian McKenzie b909a81ab7 6.0.0
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00

185 lines
4.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",
"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
}
},
"name": "g"
},
"generator": true,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 14,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 44
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 16,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 20,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 20,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 21
}
},
"name": "z"
},
"init": {
"type": "FunctionExpression",
"start": 24,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 42
}
},
"id": null,
"generator": false,
"expression": false,
"params": [
{
"type": "Identifier",
"start": 33,
"end": 38,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 38
}
},
"name": "yield"
}
],
"body": {
"type": "BlockStatement",
"start": 40,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 40
},
"end": {
"line": 1,
"column": 42
}
},
"body": []
}
}
}
],
"kind": "var"
}
]
}
}
]
}
}