Sam Pepose
199a612131
Fixed incorrect printing of array of nullable flow type
2016-06-22 20:33:43 -07: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
Logan Smyth
8336aa52e8
Split all of the separators into functions.
2016-06-16 20:31:19 -07:00
Logan Smyth
3e1a661eb6
Use the general list handlers and the default separator.
2016-06-16 20:31:19 -07:00
Logan Smyth
528128f62d
Avoid looking for raw values for all nodes.
2016-06-16 20:31:19 -07:00
Henry Zhu
b567c02413
generator tests
2016-06-10 18:05:54 -04:00
Henry Zhu
ad0e1ba6de
Support changes in flow parsing
2016-06-08 13:07:58 -04: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
Sam Goldman
26c97c4069
Add support for "declare interface" Flow syntax
...
This has been a feature in Flow for a long time (couldn't easily find a
specific commit adding this). Interfaces are basically undocumented, though, so
it's easy to see how this was missed.
2016-01-04 11:50:12 -08:00
Sam Goldman
e764346d5f
Add support for "declare type" Flow syntax
...
See facebook/flow#1105
2016-01-04 11:42:43 -08:00
Sebastian McKenzie
5ca1cf0506
Merge pull request #3203 from samwgoldman/flow-mixins-6.x
...
Add support for mixins to Babel 6.x
2015-12-27 21:04:40 +00:00
Sam Goldman
e9c23ba7a1
Don't generate class mixins if prop doesn't exist
2015-12-23 16:37:14 -05:00
Sam Goldman
bb874a4e46
Add babel-generator support for mixins to Babel 6.x
2015-12-23 16:26:29 -05:00
Sam Goldman
32c03222bf
Add support for this type to Babel 6.x
2015-12-23 13:54:57 -05:00
Amjad Masad
9c20ace184
Add support for null literal type
2015-12-03 23:58:25 -08:00
Sebastian McKenzie
7dc1b4e7e9
add ExistentialTypeParam - fixes #2587
2015-11-03 13:48:03 +00:00
Sebastian McKenzie
e62a00df50
rename NumberLiteral to NumericLiteral and RegexLiteral to RegExpLiteral
2015-11-03 01:19:35 +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
a4a347b4f0
Merge branch 'master' into development
...
Conflicts:
packages/babel/src/generation/generators/flow.js
packages/babel/src/generation/generators/types.js
packages/babel/src/transformation/transformers/es6/for-of.js
packages/babel/src/traversal/path/inference/inferers.js
packages/babel/src/types/index.js
packages/babel/src/util.js
packages/babel/test/util.js
2015-08-15 19:50:34 -04:00
Sebastian McKenzie
3ef9bffcc2
split up babel core into multiple modules
2015-08-11 17:40:59 +01:00