47 Commits

Author SHA1 Message Date
Sebastian McKenzie
d65c29b60a remove gross acorn conditional statement styling 2015-07-26 05:22:33 +01:00
Sebastian McKenzie
69721b930a add token match method and remove more dead code 2015-07-26 04:48:42 +01:00
Sebastian McKenzie
676766533c improve babylon test coverage and remove dead code 2015-07-25 19:54:19 +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
4e00575ed5 fix broken tests take 2 2015-07-25 06:16:50 +01:00
Sebastian McKenzie
7964e3bf11 fix broken tests 2015-07-25 06:14:09 +01:00
Sebastian McKenzie
55f3fb3015 add espree comment attachment tests and remove ranges test property from babylon tests 2015-07-25 06:07:51 +01:00
Sebastian McKenzie
350e901794 update babylon fixtures to use File as the root node rather than Program 2015-07-25 05:24:58 +01:00
Sebastian McKenzie
14d2625753 switch babylon tests to fixtures 2015-07-25 05:19:32 +01:00
Sebastian McKenzie
2ed9416e19 check whether the last child is the same node as the one we're removing comments from - fixes #2072, fixes #2068 2015-07-25 02:16:31 +01:00
Sebastian McKenzie
0531b61d59 v5.8.5 2015-07-24 21:59:14 +01:00
Sebastian McKenzie
ca9ea6826f v5.8.4 2015-07-24 21:30:26 +01:00
Sebastian McKenzie
236a9a6285 Merge branch 'master' of github.com:babel/babel
t push# especially if it merges an updated upstream into a topic branch.
2015-07-21 22:44:54 +01:00
Chris Parker
51cdae25cf fix tryCreateRegexp function scope 2015-07-21 17:23:31 -04:00
Sebastian McKenzie
68d58af8b1 v5.8.3 2015-07-21 18:22:42 +01:00
Sebastian McKenzie
8e798cbc9c v5.8.2 2015-07-21 18:11:11 +01:00
Sebastian McKenzie
412208745b v5.7.5 2015-07-21 02:39:55 +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
Sebastian McKenzie
f0994f106e add comment attachment to the parser and remove dead acorn options 2015-07-21 01:13:07 +01:00
Franky Chung
0876209847 Add number literal type annotations for flow 2015-07-20 11:35:46 +09:00
Sebastian McKenzie
3a74f6d4cc don't return from within parseSubscripts when we parse an async arrow function - fixes #2027 2015-07-17 23:31:46 -07:00
Sebastian McKenzie
676d602a8b v5.7.2 2015-07-15 20:35:57 +01: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
4b276b938b add feature flag for es7.exponentiationOperator 2015-07-15 18:07:25 +01:00
Sebastian McKenzie
b520a33195 remove dead babylon code 2015-07-15 18:07:13 +01:00
Sebastian McKenzie
dbf320f6f0 Merge branch 'master' into development 2015-07-15 17:10:58 +01:00
Sebastian McKenzie
805a44d55d v5.7.1 2015-07-15 17:09:26 +01:00
Sebastian McKenzie
3acae3d625 finish removal of ecmaVersion option 2015-07-15 16:41:32 +01:00
Sebastian McKenzie
472b079862 remove ecmaVersion <= 6 2015-07-15 15:34:47 +01:00
Sebastian McKenzie
8d70ab5853 switch node definitions to a DSL 2015-07-15 13:51:47 +01:00
Sebastian McKenzie
61d246cb9a v5.6.23 2015-07-15 11:23:07 +01:00
Sebastian McKenzie
eb8d7e679e fix use strict parsing 2015-07-14 17:14:32 +01:00
Sebastian McKenzie
8360001b96 add npmignore to babylon 2015-07-14 16:48:43 +01:00
Sebastian McKenzie
be09f12e42 sync tests with upstream acorn 2015-07-14 15:15:36 +01:00
Sebastian McKenzie
d73938ee89 elaborate on babylon readme 2015-07-14 15:14:57 +01:00
Sebastian McKenzie
2f212cea0a v5.6.21 2015-07-13 23:37:01 +01:00
Sebastian McKenzie
2d5d1ceb5c t 2015-07-13 16:34:43 +01:00
Sebastian McKenzie
1948946a4d add scripts 2015-07-12 12:51:20 +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