Dave Halter
|
69afc2482a
|
nicer _remove_statements
|
2014-01-07 13:25:30 +01:00 |
|
Dave Halter
|
a3e4b209c7
|
_remove_statements beautified
|
2014-01-07 12:19:05 +01:00 |
|
Dave Halter
|
35640abd82
|
split param stuff from remove_statements - which is now finally a simple method
|
2014-01-07 12:02:33 +01:00 |
|
Dave Halter
|
66ec389f5c
|
make _remove_statements smaller
|
2014-01-07 11:32:20 +01:00 |
|
Dave Halter
|
821d2b9220
|
remove some recursion
|
2014-01-07 11:28:01 +01:00 |
|
Dave Halter
|
546a7bbad9
|
merged _some_method and _remove_statements
|
2014-01-07 10:53:53 +01:00 |
|
Dave Halter
|
d1a4eccf13
|
prepare merging of some_method and remove_statement
|
2014-01-07 00:54:45 +01:00 |
|
Dave Halter
|
bbc15d4349
|
moved some NameFinder methods around
|
2014-01-07 00:38:43 +01:00 |
|
Dave Halter
|
a66589161d
|
remove is_goto parameters from NameFinder - yay, finally reached a first longtime goal
|
2014-01-07 00:25:02 +01:00 |
|
Dave Halter
|
d38c4f7482
|
split is_array_assignment and no_break_scope calculations
|
2014-01-07 00:11:25 +01:00 |
|
Dave Halter
|
41eb305d41
|
removed another whole lot of code previously added as a hack and try/error
|
2014-01-06 23:54:11 +01:00 |
|
Dave Halter
|
453421395f
|
reduced the first process method
|
2014-01-06 23:46:23 +01:00 |
|
Dave Halter
|
090536d03c
|
fix by disabling test - usages are tainted crap anyway :)
|
2014-01-06 23:41:40 +01:00 |
|
Dave Halter
|
292fb010ca
|
improve the hack (still not passing tests)
|
2014-01-06 23:16:15 +01:00 |
|
Dave Halter
|
51abedcae1
|
trying to get some NameFinder things refactored, by adding huge hacks (I hope to remove them later).
|
2014-01-06 23:11:35 +01:00 |
|
Dave Halter
|
abe8de679b
|
update ignored debug modules
|
2014-01-06 21:56:16 +01:00 |
|
Dave Halter
|
ce207e6dbb
|
goto shouldn't call names_to_types
|
2014-01-06 21:20:38 +01:00 |
|
Dave Halter
|
8e982bf25c
|
move __getattr__ checks
|
2014-01-06 20:43:24 +01:00 |
|
Dave Halter
|
17c18aba98
|
lambdas should only exist if not named
|
2014-01-06 20:31:49 +01:00 |
|
Dave Halter
|
03ed2c8969
|
added names_to_types
|
2014-01-06 18:00:06 +01:00 |
|
Dave Halter
|
a10f34ab1c
|
move dynamic flow stuff to finder
|
2014-01-06 16:38:21 +01:00 |
|
Dave Halter
|
117a9d8cf2
|
simplified flowscope stuff again
|
2014-01-06 16:35:15 +01:00 |
|
Dave Halter
|
3f80de34e3
|
move flowscope stuff to the right place
|
2014-01-06 16:27:58 +01:00 |
|
Dave Halter
|
0e69ad478b
|
moved a few closures around in NameFinder
|
2014-01-06 14:36:24 +01:00 |
|
Dave Halter
|
53dbec52ab
|
use find_types instead of find_names
|
2014-01-06 14:29:23 +01:00 |
|
Dave Halter
|
0a87f8b02f
|
fix last few glitches in NameFinder
|
2014-01-06 13:26:00 +01:00 |
|
Dave Halter
|
7e874f8c9f
|
basic implementation of the new evaluate.finder module, moved the whole find_name procedure there
|
2014-01-06 11:43:05 +01:00 |
|
Dave Halter
|
887418bbfd
|
move helpers to evaluate
|
2014-01-06 00:09:29 +01:00 |
|
Dave Halter
|
1e3b936052
|
move FakeStatement
|
2014-01-06 00:01:25 +01:00 |
|
Dave Halter
|
c9efc15ea0
|
delete unused check_arr_index function
|
2014-01-05 23:54:38 +01:00 |
|
Dave Halter
|
39c16237da
|
remove a circular dependency for docstrings.
|
2014-01-05 14:45:01 +01:00 |
|
Dave Halter
|
fbfab9eefb
|
moved docstrings module to evaluate
|
2014-01-05 14:40:21 +01:00 |
|
Dave Halter
|
5857b4dbc9
|
moved modules.py -> parser/user_context.py
|
2014-01-05 14:15:11 +01:00 |
|
Dave Halter
|
3afda3cb3e
|
more UserContext improvements
|
2014-01-05 14:10:55 +01:00 |
|
Dave Halter
|
d4701d7be8
|
refactor ModuleWithCursor to UserContext
|
2014-01-05 13:57:19 +01:00 |
|
Dave Halter
|
6df69478dc
|
move load_module to imports
|
2014-01-05 13:51:22 +01:00 |
|
Dave Halter
|
2e65fbb00f
|
rename parser.tokenizer -> parser.tokenize
|
2014-01-05 13:38:14 +01:00 |
|
Dave Halter
|
261f49d3e2
|
move NoErrorTokenizer to the tokenizer module, where it more or less belongs.
|
2014-01-05 13:34:29 +01:00 |
|
Dave Halter
|
e115689b7f
|
move NoErrorTokenizer to the parser, where it more or less belongs.
|
2014-01-05 13:25:11 +01:00 |
|
Dave Halter
|
fce36ebea4
|
move source_to_unicode to common
|
2014-01-05 13:17:04 +01:00 |
|
Dave Halter
|
9523e70a71
|
sys_path stuff has its own module, now.
|
2014-01-05 13:07:37 +01:00 |
|
Dave Halter
|
40c7949d20
|
remove parser from modules.py
|
2014-01-05 12:55:28 +01:00 |
|
Dave Halter
|
78ac8b2fd6
|
use it for the parser representation as well
|
2014-01-05 11:29:12 +01:00 |
|
Dave Halter
|
cc950c5ddb
|
also apply to api_classes
|
2014-01-05 10:44:25 +01:00 |
|
Dave Halter
|
d0a1f66777
|
apply underscore_memoization to builtin
|
2014-01-05 10:41:41 +01:00 |
|
Dave Halter
|
471cf742dc
|
add an cache.underscore_memoization decorator to make some recurring patterns easier to read
|
2014-01-05 10:37:28 +01:00 |
|
Dave Halter
|
4fdfbcd7e4
|
make the invalidate_star_import stuff easier
|
2014-01-05 10:18:04 +01:00 |
|
Dave Halter
|
1b40414d90
|
skip the strange add additional_modules test for now
|
2014-01-05 01:53:51 +01:00 |
|
Dave Halter
|
4d7349411e
|
probably finished the load_module method migration
|
2014-01-05 01:37:54 +01:00 |
|
Dave Halter
|
29e661ea74
|
remove a lot of modules crap and replace it with a simple method called load_module
|
2014-01-04 14:35:11 +01:00 |
|