Sebastian McKenzie
|
bf8f80faf7
|
add general support for declarations to Scope::rename - closes #751
|
2015-02-11 20:14:41 +11:00 |
|
Sebastian McKenzie
|
77fa8bf01c
|
fix isReferenced on AssignmentPattern
|
2015-02-11 20:14:21 +11:00 |
|
Sebastian McKenzie
|
34ca1ac04f
|
delay binding reassignment to after reference replacements - #751
|
2015-02-11 19:48:54 +11:00 |
|
Sebastian McKenzie
|
85d33536e0
|
add deopt logging to tail call transformer
|
2015-02-11 15:59:15 +11:00 |
|
Sebastian McKenzie
|
a4932e0e0f
|
add messages to make it easier to make error messages
|
2015-02-11 15:57:30 +11:00 |
|
Sebastian McKenzie
|
db93c52182
|
opt out of tail recursion optimisation if the owner id has been reassigned - fixes #744
|
2015-02-11 11:27:50 +11:00 |
|
Sebastian McKenzie
|
56a953df64
|
add basic support for class property initializers - #619
|
2015-02-11 10:59:44 +11:00 |
|
Sebastian McKenzie
|
017bb6427a
|
Merge pull request #743 from chicoxyzzy/master
optimise lodash usage
|
2015-02-11 08:28:58 +11:00 |
|
Ingvar Stepanyan
|
904a72fb3a
|
Fix rename not establishing binding.
|
2015-02-10 17:18:46 +02:00 |
|
chico
|
146835e0f1
|
fix broken code, lint and codestyle fixes
|
2015-02-10 18:16:54 +03:00 |
|
chico
|
79ba97872c
|
optimise lodash usage; change contains function to includes for convenience
|
2015-02-10 17:40:53 +03:00 |
|
Sebastian McKenzie
|
897566ccb3
|
more reliable scope construction
|
2015-02-11 00:38:59 +11:00 |
|
Sebastian McKenzie
|
4df1b6700b
|
remove acorn node patching
|
2015-02-11 00:37:59 +11:00 |
|
Sebastian McKenzie
|
50f903caf7
|
proper optional builder keys
|
2015-02-11 00:13:27 +11:00 |
|
Sebastian McKenzie
|
7b8118d8bd
|
default newName in scope.rename to a new uid
|
2015-02-11 00:13:21 +11:00 |
|
Sebastian McKenzie
|
0c1e1e757c
|
default optional builder keys to false
|
2015-02-11 00:02:51 +11:00 |
|
Sebastian McKenzie
|
62fa583fc1
|
fix linting errors
|
2015-02-10 23:55:11 +11:00 |
|
Sebastian McKenzie
|
8598000a69
|
restructure Scope API and internal data structure
|
2015-02-10 23:52:23 +11:00 |
|
Sebastian McKenzie
|
edc8bee38e
|
test for falsy nodes in tail call transformer subtransform
|
2015-02-10 22:39:46 +11:00 |
|
Sebastian McKenzie
|
45b70d7fba
|
fix bad ctrl+f Class -> ClassTransformer replacement
|
2015-02-10 22:39:21 +11:00 |
|
Sebastian McKenzie
|
49a53b26bb
|
add scope renaming helper method - fixes #645 - @RReverser
|
2015-02-10 22:39:07 +11:00 |
|
Sebastian McKenzie
|
329b4e9d21
|
append Transformer to the end of transformer classes
|
2015-02-10 22:12:36 +11:00 |
|
Sebastian McKenzie
|
f1bca0013e
|
refactor tail call transformer into a class - @RReverser
|
2015-02-10 22:11:22 +11:00 |
|
Sebastian McKenzie
|
ac098255be
|
fix allowPartial in t.buildMatchMemberExpression
|
2015-02-10 18:34:16 +11:00 |
|
Sebastian McKenzie
|
47b803ef24
|
remove old tail call transformer
|
2015-02-10 18:33:51 +11:00 |
|
Sebastian McKenzie
|
7f61c8b65e
|
add descriptor falsy check to defaults helper - #739
|
2015-02-10 18:33:29 +11:00 |
|
Sebastian McKenzie
|
4fa9aa63a3
|
Merge branch 'better-tail-recursion'
|
2015-02-10 18:04:05 +11:00 |
|
Sebastian McKenzie
|
d582c7c93a
|
Merge pull request #739 from lukescott/defaults-fix
fix defaults helper in strict mode - #738
|
2015-02-10 18:00:26 +11:00 |
|
Sebastian McKenzie
|
6266f5b924
|
finish minification.removeConsoleCall transformer #740
|
2015-02-10 17:56:31 +11:00 |
|
Luke Scott
|
c6920a0e60
|
fix defaults helper in strict mode - #738
|
2015-02-09 20:38:57 -08:00 |
|
Sebastian McKenzie
|
825d84ba52
|
fix defaults helper iteration - #738
|
2015-02-10 13:20:19 +11:00 |
|
Sebastian McKenzie
|
94a0eb5b06
|
copy over descriptors and handle non-enumerable properties in defaults helper - fixes #738
|
2015-02-10 13:06:26 +11:00 |
|
Sebastian McKenzie
|
b6d708caf2
|
add SpreadProperty to t.getBindingIdentifiers - fixes #734
|
2015-02-10 09:04:27 +11:00 |
|
Ingvar Stepanyan
|
0d542b61d3
|
Performance improvements for TCO.
http://jsperf.com/tco/17
|
2015-02-09 19:00:31 +02:00 |
|
Ingvar Stepanyan
|
5a842ab623
|
Fix statement substitution in templates.
|
2015-02-09 17:34:59 +02:00 |
|
Sebastian McKenzie
|
26d4b5f2cf
|
normalise opts.sourceRoot path - 6to5/karma-6to5-preprocessor#5
|
2015-02-09 23:38:54 +11:00 |
|
Sebastian McKenzie
|
ba0dfac53d
|
add uid scope kind
|
2015-02-09 21:28:51 +11:00 |
|
Sebastian McKenzie
|
8a4296a948
|
remove binding kind from pushing bindings to the function scope, better block scoped collision logic, and track label ids as references
|
2015-02-09 21:21:25 +11:00 |
|
Sebastian McKenzie
|
478f9e028f
|
put function params into the param kind
|
2015-02-09 20:16:38 +11:00 |
|
Sebastian McKenzie
|
c4e56894d9
|
ignore hoisted kind when checking for block scoped collisions
|
2015-02-09 20:03:59 +11:00 |
|
Sebastian McKenzie
|
c6f13844ed
|
move FunctionDeclarations into a hoisted kind
|
2015-02-09 19:53:46 +11:00 |
|
Sebastian McKenzie
|
5e81653680
|
change function params binding kind to let
|
2015-02-09 19:45:03 +11:00 |
|
Sebastian McKenzie
|
8e2df3f1f9
|
add kinds to binding registration and rename declaration scope methods to bindings
|
2015-02-09 19:42:52 +11:00 |
|
Sebastian McKenzie
|
a2cc384172
|
move rest parameters transformer above default parameters
|
2015-02-09 10:59:31 +11:00 |
|
Sebastian McKenzie
|
d37bf292a1
|
rename declarationKinds to bindingKinds in scope tracker
|
2015-02-09 10:59:20 +11:00 |
|
Sebastian McKenzie
|
70eb641530
|
fix element name in default parameters
|
2015-02-09 08:46:06 +11:00 |
|
Sebastian McKenzie
|
f845a9b2c4
|
ignore binding elements when finding the last non-default param - fixes #723
|
2015-02-09 08:25:58 +11:00 |
|
Sebastian McKenzie
|
ee5cb8d9ed
|
clean up tail call transformer
|
2015-02-08 22:47:50 +11:00 |
|
Sebastian McKenzie
|
45c507056a
|
add back old tail call implementation
|
2015-02-08 22:09:41 +11:00 |
|
Sebastian McKenzie
|
97784c8cca
|
comment out tailCall transformer
|
2015-02-08 21:19:01 +11:00 |
|