15 Commits

Author SHA1 Message Date
Sebastian McKenzie
caecebf95b 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
69721b930a add token match method and remove more dead code 2015-07-26 04:48:42 +01:00
Sebastian McKenzie
2598299e64 finish reorganisation of babylon 2015-07-25 08:03:39 +01:00
Sebastian McKenzie
7e7ad89724 remove range property from nodes, clean up babylon codebase 2015-07-25 07:07:22 +01:00
Sebastian McKenzie
30be1317e6 update flow literal annotations to have a rawValue 2015-07-21 02:37:43 +01:00
Sebastian McKenzie
956fd8d770 Merge branch 'master' into development 2015-07-21 02:28:00 +01:00
Sebastian McKenzie
0a5a00d6f8 properly disallow type casts in reference lists 2015-07-21 02:01:48 +01:00
Sebastian McKenzie
40f19586af reimplement async function type parameters backfix - fixes #2028 2015-07-21 01:13:35 +01:00
Franky Chung
0876209847 Add number literal type annotations for flow 2015-07-20 11:35:46 +09:00
Sebastian McKenzie
d2ce03e82d flow parser plugin: move up startPos and startLoc default assignments 2015-07-15 20:33:56 +01:00
Sebastian McKenzie
afacd62738 rewrite async function parsing, properly parse flow return types of arrow functions - fixes #1991 2015-07-15 20:08:10 +01:00
Sebastian McKenzie
ada45d5800 add missing semicolons 2015-07-12 00:36:21 +01:00
Sebastian McKenzie
f9498d7a2d 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
a226641631 more architectural changes 2015-07-11 20:56:26 +01:00
Sebastian McKenzie
fedf894904 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