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

337 lines
8.1 KiB
JSON

{
"type": "File",
"start": 0,
"end": 78,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 78
}
},
"program": {
"type": "Program",
"start": 0,
"end": 78,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 78
}
},
"sourceType": "script",
"body": [
{
"type": "ClassDeclaration",
"start": 0,
"end": 78,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 78
}
},
"id": {
"type": "Identifier",
"start": 6,
"end": 7,
"loc": {
"start": {
"line": 1,
"column": 6
},
"end": {
"line": 1,
"column": 7
}
},
"name": "A"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 8,
"end": 78,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 78
}
},
"body": [
{
"type": "ClassMethod",
"start": 10,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 10
},
"end": {
"line": 1,
"column": 29
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 21,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 24
}
},
"name": "foo"
},
"static": true,
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 27,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 29
}
},
"body": [],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 30,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 50
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 41,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 41
},
"end": {
"line": 1,
"column": 44
}
},
"name": "foo"
},
"static": true,
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"params": [
{
"type": "Identifier",
"start": 45,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 45
},
"end": {
"line": 1,
"column": 46
}
},
"name": "v"
}
],
"body": {
"type": "BlockStatement",
"start": 48,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 50
}
},
"body": [],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 51,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 51
},
"end": {
"line": 1,
"column": 63
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 55,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 55
},
"end": {
"line": 1,
"column": 58
}
},
"name": "foo"
},
"static": false,
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 61,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"column": 63
}
},
"body": [],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 64,
"end": 77,
"loc": {
"start": {
"line": 1,
"column": 64
},
"end": {
"line": 1,
"column": 77
}
},
"computed": false,
"key": {
"type": "Identifier",
"start": 68,
"end": 71,
"loc": {
"start": {
"line": 1,
"column": 68
},
"end": {
"line": 1,
"column": 71
}
},
"name": "foo"
},
"static": false,
"kind": "set",
"id": null,
"generator": false,
"expression": false,
"params": [
{
"type": "Identifier",
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 1,
"column": 72
},
"end": {
"line": 1,
"column": 73
}
},
"name": "v"
}
],
"body": {
"type": "BlockStatement",
"start": 75,
"end": 77,
"loc": {
"start": {
"line": 1,
"column": 75
},
"end": {
"line": 1,
"column": 77
}
},
"body": [],
"directives": []
}
}
]
}
}
],
"directives": []
}
}