Sebastian McKenzie
|
1f3c3832ba
|
fix linting errors
|
2015-02-13 18:25:34 +11:00 |
|
Sebastian McKenzie
|
c3206aa9a4
|
move File::generateUid to Scope and add return type inferrence
|
2015-02-13 18:21:28 +11:00 |
|
Sebastian McKenzie
|
ce332b3384
|
fix module binding resolution - fixes #762
|
2015-02-13 17:37:35 +11:00 |
|
Sebastian McKenzie
|
0a4fc16ca0
|
add type inferrence that expires when a binding is reassigned
|
2015-02-13 15:08:58 +11:00 |
|
Sebastian McKenzie
|
e7f6572a3b
|
track arrays to avoid turning something into an array multiple times - closes #757
|
2015-02-12 21:30:48 +11:00 |
|
Sebastian McKenzie
|
bf8f80faf7
|
add general support for declarations to Scope::rename - closes #751
|
2015-02-11 20:14:41 +11:00 |
|
Sebastian McKenzie
|
34ca1ac04f
|
delay binding reassignment to after reference replacements - #751
|
2015-02-11 19:48:54 +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
|
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
|
7b8118d8bd
|
default newName in scope.rename to a new uid
|
2015-02-11 00:13:21 +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
|
49a53b26bb
|
add scope renaming helper method - fixes #645 - @RReverser
|
2015-02-10 22:39:07 +11:00 |
|
Ingvar Stepanyan
|
0d542b61d3
|
Performance improvements for TCO.
http://jsperf.com/tco/17
|
2015-02-09 19:00:31 +02: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
|
d37bf292a1
|
rename declarationKinds to bindingKinds in scope tracker
|
2015-02-09 10:59:20 +11:00 |
|
Sebastian McKenzie
|
24e70802b5
|
fix block scoped tracking in functions - fixes #710
|
2015-02-08 09:31:04 +11:00 |
|
Sebastian McKenzie
|
a6d1a5a724
|
add bindingEquals, typeEquals, referenceEquals helper methods to Scope
|
2015-02-06 23:07:10 +11:00 |
|
Sebastian McKenzie
|
37d29b7a6f
|
clean up function scope collection - @RReverser
|
2015-02-06 22:04:13 +11:00 |
|
Sebastian McKenzie
|
76ae1682a3
|
remove context arg in favor of this, rename TraversalIteration to TraversalPath, and remove ast handlers
|
2015-02-06 01:47:43 +11:00 |
|
Sebastian McKenzie
|
f365cc1248
|
more internal rearchitecturing
|
2015-02-05 14:05:15 +11:00 |
|