cpojer
18380d2aee
Add support for import typeof, fixes #1975
2015-07-11 01:54:25 -07:00
Sebastian McKenzie
ed25845152
remove accidental stackTraceLimit assignment
2015-07-09 16:12:06 +01:00
Sebastian McKenzie
50ca6b1018
clean up inType tracking in flow parser plugin
2015-06-26 23:26:32 +01:00
Sebastian McKenzie
d3884fd53b
add inType assignment in flow parse declare method
2015-06-24 23:26:48 +01:00
Sebastian McKenzie
7ccd135e83
fix isKeyword flow overload
2015-06-24 23:18:21 +01:00
Sebastian McKenzie
aa25903c05
parse void as an identifier when inside a type annotation to avoid setting void keyword token - cc @DmitrySoshnikov
2015-06-24 23:15:00 +01:00
Greg Hurrell
0c300058a3
Add "mixed" Flow type
...
"mixed" is one of the base types listed here:
http://flowtype.org/docs/base-types.html
So this commit adds support for it.
2015-06-02 07:15:06 -07:00
Sebastian McKenzie
d9deb02edc
register as inside a type when parsing type aliases to avoid ambiguous jsx parsing - fixes #1378
2015-05-11 23:44:22 +01:00
Christopher Monsanto
f5b3d72730
support commas as obj property separators in flow
2015-05-01 00:09:26 -04:00
Sebastian McKenzie
cfffaf6cdb
upgrade to babel 5
2015-04-28 14:55:28 +01:00
Sebastian McKenzie
c9243e8e97
fixes #1114
...
- The visitor keys for `ObjectTypeAnnotation`s were incorrect so those nodes weren't being traversed so comments weren't attached for them.
- The type parser wasn't eating the semicolons for the nodes so the `end` location of each of the type properties wasn't accurate which threw off the code generation newline algorithm.
- Type properties hadn't been given the `UserWhitespacable` alias.
2015-03-29 16:44:36 +11:00
Sebastian McKenzie
de88b28988
add class property initializers, add more TraversalPath flexibility with additional node injection method
2015-03-24 03:34:34 +11:00
Sebastian McKenzie
30b1c0154d
update to modular acorn
2015-03-21 15:25:32 +11:00