Ryan Marsh
de80aefece
fix single-arg async arrows when retainLines=true ( #8868 )
2018-10-30 06:49:11 +01:00
Diogo Franco
2958548c2c
Fix code generation for async generator methods ( #6998 )
...
Fixes generator to write `async *foo() {}` instead of `*async foo() {}`.
2017-12-08 17:38:31 +09:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Andy
e32042f353
babel-generator: Comment TypeScript-specific code ( #6026 )
2017-07-28 18:03:38 -04:00
Andy
c1d07fd6db
babel-generator: Add TypeScript support ( #5896 )
...
* babel-generator: Add TypeScript support
* Remove type declarations; not published from babylon
* Remove TODOs
* Consistently use `this.word` for tokens that are words
2017-07-28 16:07:05 -04:00
Brian Ng
9a1b8ea443
Add support for flow predicates in babel-generator ( #5984 )
2017-07-25 11:38:17 -04:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Brian Ng
8a82cc060a
Run new lint rules ( #5413 )
2017-03-04 10:46:01 -05:00
Logan Smyth
b845f2b69d
Re-enable the max-len ESLint rule. ( #5265 )
2017-02-04 11:07:15 -05:00
Henry Zhu
672adba9a1
enable prefer const ( #5113 )
2017-01-14 09:48:52 -05:00
Dan Harper
41f2bbc104
Flow: Fix generating arrow functions with param ( #4504 )
...
* transform-flow-comments, single arrow param support #4503
* further tests for printing single arrow func param flow code
* cleanup
2016-09-12 08:27:49 -04:00
Logan Smyth
df2c3f3d25
Use the common space helper everywhere to ensure we get the smallest output possible.
2016-06-16 22:00:24 -07:00
Logan Smyth
4286cb4f2a
Explicitly label standalone tokens and words.
2016-06-16 22:00:23 -07:00
Logan Smyth
e702e67233
Split all of the pushes into individual tokens.
2016-06-16 22:00:23 -07:00
Amjad Masad
2fbe28cc88
Remove remaining @flow annotations
2016-03-03 15:10:59 -08:00
Amjad Masad
12ee11a0a4
Revert "Remove Flow annotations and pragmas"
...
This reverts commit 4252244d06b225ab26a02d52c04f9940a3e4d6a2.
2016-03-03 15:03:55 -08:00
Sam Goldman
4252244d06
Remove Flow annotations and pragmas
2016-02-28 13:18:57 -10:00
Sebastian McKenzie
5b89849f43
Switch to klint, fix some lint rules
2016-02-14 23:25:14 +00:00
Amjad Masad
3d3b30eb45
[T7047]Consider arrow functions when parenthesizing object expressions
2016-02-02 16:26:31 -08:00
Sebastian McKenzie
ae7d5367f1
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
Sebastian McKenzie
f88cc9d509
clean up babel-generator - closes #2210
2015-10-05 16:37:37 +01:00
Sebastian McKenzie
227ed5638a
add flow type annotations
2015-09-23 16:10:44 +01:00
Sebastian McKenzie
c99a179401
var -> let
2015-09-18 18:45:55 +01:00
Sebastian McKenzie
15f73b4fc3
remove noisy comments/documentation
2015-09-01 04:56:03 +01:00
Sebastian McKenzie
3ef9bffcc2
split up babel core into multiple modules
2015-08-11 17:40:59 +01:00