15 Commits

Author SHA1 Message Date
Sebastian McKenzie
ae7d5367f1 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
20f643b419 type annotate babylon 2015-09-23 15:59:41 +01:00
Sebastian McKenzie
5ea5d47d7f add babylon hasFeature util method 2015-09-15 06:15:19 +01:00
Sebastian McKenzie
559272bb02 fix weird legacy acorn formatting 2015-08-24 15:31:41 -04:00
Sebastian McKenzie
1de8a57102 never attempt to represent regexes natively 2015-08-24 15:31:30 -04:00
Sebastian McKenzie
e382d34ed2 parser: don't mutate or clone state arrays when doing a lookahead - fixes #2211 2015-08-15 19:07:42 -04:00
Sebastian McKenzie
a179f9a48b fix various bugs surfaced by the esprima test suite, remove some incorrect tests 2015-08-11 16:58:20 +01:00
Henry Zhu
04aedf37b4 fix unexpected token issue for regex after block case
- Ex: `if (1) {} /foo/`

Fixes babel/babel-eslint#161
Ref marijnh/acorn#289
2015-08-10 19:03:13 -04:00
Sebastian McKenzie
aee240c73e put containsEsc on state rather than as a local variable 2015-07-31 12:44:54 +01:00
Logan Smyth
0bfc5a90dc Ensure that the original state is restored on lookahead - fixes #2086 2015-07-26 20:56:07 -07:00
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