Sebastian McKenzie
4016bae694
add ExistentialTypeParam - fixes #2587
2015-11-03 13:48:03 +00:00
Sebastian McKenzie
ea40d0134f
rename NumberLiteral to NumericLiteral and RegexLiteral to RegExpLiteral
2015-11-03 01:19:35 +00:00
Sebastian McKenzie
c224a7a370
fix parser bug where arrow functions have a higher precedence than they should - fixes #2118
2015-10-30 22:50:53 +00:00
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
Sebastian McKenzie
6d6ddf0bcd
type annotate babylon
2015-09-23 15:59:41 +01:00
Sebastian McKenzie
446b297465
unoverload Literal AST node
2015-09-01 04:49:16 +01:00
Sebastian McKenzie
d97240ae09
Merge remote-tracking branch 'origin/master' into development
...
Conflicts:
packages/babel/scripts/build-dist.sh
2015-08-27 11:12:00 -07:00
Cesar Andreu
bc59b09f6b
Start ObjectTypeProperty's optional property as false in each loop
2015-08-27 00:07:26 -04:00
Sebastian McKenzie
8887444cf7
fix various bugs surfaced by the esprima test suite, remove some incorrect tests
2015-08-11 16:58:20 +01:00
Sebastian McKenzie
df021c7f23
add esprima tests and fix bugs picked up by it
2015-08-11 00:59:15 +01:00
Sebastian McKenzie
c318c88050
forward all arguments to parseClassId in flow parser plugin
2015-08-10 13:10:32 +01:00
Sebastian McKenzie
71bbffa797
fix handling of flow method shorthand - fixes #2169
2015-08-05 21:42:15 +01:00
Sebastian McKenzie
a0f9d5fbc8
add support for export types
2015-07-31 23:34:45 +01:00
Sebastian McKenzie
b1c3ed6d2d
fix linting error and add missing tests
2015-07-30 23:47:59 +01:00
Sebastian McKenzie
1d81dd995c
add support for boolean flow literals - fixes #2127
2015-07-30 23:44:36 +01:00
Sebastian McKenzie
53952cb765
fix syntax error
2015-07-29 16:43:52 +01:00
Sebastian McKenzie
ffee5615e4
clear rawValue from JSX attribute values as they're tokenised and parsed differently - fixes #2114
2015-07-29 16:15:47 +01:00
Sebastian McKenzie
e6e3a68a39
make flow transformer use internal state to track whether we're in a type or not - fixes #2083
2015-07-27 00:06:26 +01:00
Sebastian McKenzie
671196dffa
remove rawValue property from JSX inner text Literal nodes
2015-07-26 05:30:27 +01:00
Sebastian McKenzie
e229f8ea55
remove gross acorn conditional statement styling
2015-07-26 05:22:33 +01:00
Sebastian McKenzie
c2c8b2db57
add token match method and remove more dead code
2015-07-26 04:48:42 +01:00
Sebastian McKenzie
23aa7b002d
improve babylon test coverage and remove dead code
2015-07-25 19:54:19 +01:00
Sebastian McKenzie
2948108c90
finish reorganisation of babylon
2015-07-25 08:03:39 +01:00
Sebastian McKenzie
e7fec51feb
remove range property from nodes, clean up babylon codebase
2015-07-25 07:07:22 +01:00
Sebastian McKenzie
3c5b4f2d89
update flow literal annotations to have a rawValue
2015-07-21 02:37:43 +01:00
Sebastian McKenzie
da94ea7fa5
Merge branch 'master' into development
2015-07-21 02:28:00 +01:00
Sebastian McKenzie
ee04db074d
properly disallow type casts in reference lists
2015-07-21 02:01:48 +01:00
Sebastian McKenzie
7f34827a72
reimplement async function type parameters backfix - fixes #2028
2015-07-21 01:13:35 +01:00
Franky Chung
f3c7ef6707
Add number literal type annotations for flow
2015-07-20 11:35:46 +09:00
Sebastian McKenzie
a84242386d
flow parser plugin: move up startPos and startLoc default assignments
2015-07-15 20:33:56 +01:00
Sebastian McKenzie
043d007285
rewrite async function parsing, properly parse flow return types of arrow functions - fixes #1991
2015-07-15 20:08:10 +01:00
Sebastian McKenzie
a1a1ad3d1c
add missing semicolons
2015-07-12 00:36:21 +01:00
Sebastian McKenzie
a08c21302d
Merge branch 'master' into top-secret
...
# Conflicts:
# packages/babylon/src/options.js
# src/acorn/plugins/flow.js
# src/acorn/src/util.js
2015-07-11 21:04:33 +01:00
Sebastian McKenzie
ff6620c8ea
more architectural changes
2015-07-11 20:56:26 +01:00
Sebastian McKenzie
423d8c510d
Begin transition of Babel to a more scalable architecture, async flow to allow for RPC and better build system for multiple packages
2015-07-11 12:39:54 +01:00