27 Commits

Author SHA1 Message Date
Sebastian McKenzie
59d918ea67 remove unused isArray traverse.hasType 2014-11-11 15:23:52 +11:00
Sebastian McKenzie
06ba731452 traverse: pass opts.scope instead of opts 2014-11-09 21:24:48 +11:00
Sebastian McKenzie
4d59976d82 remove _parent from nodes in traverse.removeProperties 2014-11-09 16:27:31 +11:00
Sebastian McKenzie
5c6d57c51b add transformation and generation folders 2014-11-08 09:17:12 +11:00
Sebastian McKenzie
9ef826b53e move visitor-keys from traverse to types 2014-11-04 12:47:27 +11:00
Sebastian McKenzie
6f230de01c fix maybeReplace wrong node callback bug 2014-11-03 21:17:56 +11:00
Sebastian McKenzie
6d961c1857 faster traverse.hasType with array of nodes 2014-11-03 12:15:27 +11:00
Sebastian McKenzie
43ea593677 traverse.removeProperties: remove raw property 2014-11-01 19:29:17 +11:00
Sebastian McKenzie
6e7b8a14fe remove comments in traverse.removeProperties 2014-10-31 21:22:28 +11:00
Sebastian McKenzie
6953b6e8b6 remove start and end props from nodes in traverse.removeProperties 2014-10-31 11:37:49 +11:00
Sebastian McKenzie
976e6782a2 expose traverse.VISITOR_KEYS 2014-10-30 17:11:13 +11:00
Sebastian McKenzie
e797be518f move some util and traverse methods into types 2014-10-30 13:26:06 +11:00
Sebastian McKenzie
3b9a339c79 remove useless traverse.Delete 2014-10-30 13:09:23 +11:00
Sebastian McKenzie
531ea91a07 add support for exit traversal functions to replace the node 2014-10-17 21:20:08 +11:00
Sebastian McKenzie
7bb53314a8 move util.isPattern to traverse.isPattern 2014-10-13 20:12:28 +11:00
Sebastian McKenzie
39959e5549 more traverse comments 2014-10-13 14:38:25 +11:00
Sebastian McKenzie
a6ffde6e9b add traversal node aliases to be dry 2014-10-13 05:34:46 +11:00
Sebastian McKenzie
27cb0f6f87 fix blacklist traversal bug - fixes #49 2014-10-12 09:34:01 +11:00
Sebastian McKenzie
0f7da020e3 change obj references to a unique identifier 2014-10-12 00:23:13 +11:00
Sebastian McKenzie
ab46a26508 treat arrow functions as another function type when transforming 2014-10-11 14:08:53 +11:00
Sebastian McKenzie
a484ea6003 remove traverse.replace and let traverse deal with it 2014-10-10 14:37:23 +11:00
Sebastian McKenzie
6336558826 fix linting errors 2014-10-06 20:51:43 +11:00
Sebastian McKenzie
2ccbc73a41 actually implement continue and break statement support to block binding 2014-10-03 20:00:52 +10:00
Sebastian McKenzie
5dabe50ed7 add support for break and continue in block binding 2014-10-03 10:50:53 +10:00
Sebastian McKenzie
be5ebe1758 remove dead code 2014-09-29 18:29:16 +10:00
Sebastian McKenzie
fd932e20e9 hoist var declarations to before function definition when let block scoping 2014-09-29 13:36:39 +10:00
Sebastian McKenzie
c97696c224 first commit 2014-09-28 23:39:22 +10:00