1
0
forked from VimPlug/jedi
Commit Graph

2275 Commits

Author SHA1 Message Date
Dave Halter
7af9e6dfd7 pushed the _parse_function_doc to compiled 2014-01-08 22:01:26 +01:00
Dave Halter
d71fe3061b better environment for compiled executions 2014-01-08 02:20:41 +01:00
Dave Halter
f257e279c2 pass the first test 2014-01-07 18:48:54 +01:00
Dave Halter
70413768ef add a 'compiled' module, to finally solve #102 and #335 2014-01-07 18:45:02 +01:00
Dave Halter
f3768f818b Merge pull request #362 from davidhalter/refactoring
Refactoring Jedi for code readability
2014-01-07 09:35:44 -08:00
Dave Halter
1a3541e3aa removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported) 2014-01-07 17:46:22 +01:00
Dave Halter
73aeee6919 make defined_names public in api.classes, because it is 2014-01-07 15:47:00 +01:00
Dave Halter
6deac1dc41 api is now a separate package, to structure the whole thing better. 2014-01-07 15:33:24 +01:00
Dave Halter
3126031ff2 move module checking again - probably the last time (resolves an import issue) 2014-01-07 15:20:00 +01:00
Dave Halter
a74b7299e2 scan_statement -> scan_statement_for_calls 2014-01-07 15:10:19 +01:00
Dave Halter
359f3ed4a9 also moved scan_statement away from dynamic 2014-01-07 15:06:11 +01:00
Dave Halter
a5fa739960 moved another method away from dynamic 2014-01-07 15:01:59 +01:00
Dave Halter
8a9453872f cleaned up evaluate.param 2014-01-07 14:44:39 +01:00
Dave Halter
1881a24e73 moved the param generation into another file 2014-01-07 14:33:27 +01:00
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