Sebastian McKenzie
|
7f4efecb7d
|
support for CallExpression in Scope.prototype.generateUidBasedOnNode
|
2015-01-04 07:59:43 +11:00 |
|
Sebastian McKenzie
|
d945379b5b
|
remove isDynamic checks and always execute those expressions **once**
|
2015-01-03 21:48:06 +11:00 |
|
Sebastian McKenzie
|
d20ab0eb05
|
rename traverse stop method to skip and add a stop method that actually breaks the current traversal
|
2015-01-03 20:08:31 +11:00 |
|
Sebastian McKenzie
|
f1a178f8f9
|
compact body nodes in traversal
|
2015-01-02 01:59:49 +11:00 |
|
Sebastian McKenzie
|
07667d80ff
|
clean up traverse
|
2015-01-01 22:34:05 +11:00 |
|
Sebastian McKenzie
|
9a633ebd9c
|
update scope to use new traversal api
|
2015-01-01 22:33:40 +11:00 |
|
Sebastian McKenzie
|
03efd69998
|
check if node exists before inheriting comments to it
|
2014-12-29 01:37:12 +11:00 |
|
Sebastian McKenzie
|
d951082b09
|
move replacement node comment inheritance to traverse replacement
|
2014-12-29 01:26:11 +11:00 |
|
Sebastian McKenzie
|
6df6652629
|
better circular references in amd/umd/system module formatter
|
2014-12-28 09:35:47 +11:00 |
|
Sebastian McKenzie
|
601bbb86cd
|
remap UpdateExpression in module exports - closes #334
|
2014-12-28 01:00:53 +11:00 |
|
Sebastian McKenzie
|
e96d02c972
|
make traversal code simpler
|
2014-12-27 17:01:47 +11:00 |
|
Sebastian McKenzie
|
4ea425ac7b
|
remove ParenthesizedExpression
|
2014-12-22 21:36:33 +11:00 |
|
Sebastian McKenzie
|
fc7fc384c9
|
add declaration/reference support to scope
|
2014-12-16 08:06:56 +11:00 |
|
Sebastian McKenzie
|
c7d69b2f92
|
block scope constants
|
2014-12-10 23:49:13 +11:00 |
|
Sebastian McKenzie
|
dae46bfbfa
|
DRY up isDynamic checks - add isDynamic check to spread - fixes #232
|
2014-12-05 10:53:46 +11:00 |
|
Sebastian McKenzie
|
a0219ef278
|
fix let scoping unneccesary override - fixes #245
|
2014-12-05 09:55:26 +11:00 |
|
Sebastian McKenzie
|
758a873894
|
avoid ensuring a block on non-array node replacements
|
2014-11-30 23:39:08 +11:00 |
|
Sebastian McKenzie
|
5f21fc2f17
|
ensureBlock on multiple node replacements - fixes #229
|
2014-11-30 11:10:57 +11:00 |
|
Sebastian McKenzie
|
d184bc93b9
|
add playground
|
2014-11-25 23:50:50 +11:00 |
|
Sebastian McKenzie
|
07de6f5f4a
|
clean up Scope reference addition
|
2014-11-25 18:59:45 +11:00 |
|
Sebastian McKenzie
|
b8ec87e058
|
fix Scope::push block type error message
|
2014-11-24 00:59:56 +11:00 |
|
Sebastian McKenzie
|
49e7e3b998
|
fix multiple references in experimental abstract references #207
|
2014-11-24 00:35:18 +11:00 |
|
Sebastian McKenzie
|
b5feaf7c2f
|
remove dead code
|
2014-11-20 21:17:57 +11:00 |
|
Sebastian McKenzie
|
a90f133918
|
update Scope arguments
|
2014-11-20 21:09:38 +11:00 |
|
Sebastian McKenzie
|
0a25618c34
|
collect references that haven't been declared in scope - fixes #173 and fixes #175
|
2014-11-20 16:53:22 +11:00 |
|
Sebastian McKenzie
|
d929d3c5eb
|
remove duplicate i variable from traverse
|
2014-11-16 19:24:58 +11:00 |
|
Sebastian McKenzie
|
2b82f2bcc2
|
ignore unknown nodes in traversal
|
2014-11-16 18:52:54 +11:00 |
|
Sebastian McKenzie
|
f1183505b1
|
optimise traverse, improves traversal speed by 50%
|
2014-11-16 18:50:07 +11:00 |
|
Sebastian McKenzie
|
e290990371
|
scope: remove unused references instance property
|
2014-11-16 14:34:29 +11:00 |
|
Sebastian McKenzie
|
27ba4b2bba
|
scope: switch over declaration building to info so we can build multiple things
|
2014-11-16 14:33:16 +11:00 |
|
Sebastian McKenzie
|
37f360c72d
|
make scope tracker more reliable to handle all edgecases
|
2014-11-14 23:13:58 +11:00 |
|
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
|
a909a6febd
|
add CatchClause scope
|
2014-11-09 13:42:00 +11:00 |
|
Sebastian McKenzie
|
cd9e289dee
|
traverse: clean up scope getIds building
|
2014-11-09 12:07:14 +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
|
400fa8ed97
|
remove unused ParenthesizedExpression
|
2014-11-01 19:27:23 +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
|
febc3062cc
|
update traverse visitor keys to acorn ones
|
2014-10-30 17:11:05 +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
|
112932f9ee
|
add jsx elements to traversal visitor keys
|
2014-10-17 09:18:29 +11:00 |
|