1
0
forked from VimPlug/jedi
Commit Graph

57 Commits

Author SHA1 Message Date
Dave Halter
cdbe26786a Trying to get ird of the weird param generation in the parser tree. 2015-02-10 15:49:26 +01:00
Dave Halter
580dcb06ff Clean up the dynamic module. 2014-12-16 17:39:50 +01:00
Dave Halter
4a8bbd9583 Restructure dynamic param search, so that it can be cached better. 2014-12-15 13:39:53 +01:00
Dave Halter
0184e80120 dynamic_params correction. 2014-11-29 13:49:50 +01:00
Dave Halter
9f45f18ad1 Added a grammar param to the parser. 2014-11-24 01:10:39 +01:00
Dave Halter
c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter
267016f533 Function for evaluating functions with already executed arguments. 2014-11-23 19:12:25 +01:00
Dave Halter
b5418d9d73 Small issue with dynamic params. 2014-11-20 00:25:03 +01:00
Dave Halter
6d866eb915 Small cleanup: Dynamic params comparison works now with the evaluator functions. 2014-11-18 13:28:24 +01:00
Dave Halter
f9276a8bd2 Fix issues with decorators and dynamic params combined. 2014-11-18 13:04:05 +01:00
Dave Halter
9ac66261c9 Fi dynamic param stuff combined with list comprehensions. 2014-11-17 17:54:12 +01:00
Dave Halter
ae3ff35674 Fix issues with buggy trailers in dynamic params. 2014-11-17 17:49:34 +01:00
Dave Halter
da5273ce20 Fix issues with dynamic class parameter completion. 2014-11-17 17:07:32 +01:00
Dave Halter
259aa6bd5f First dynamic params working. 2014-11-17 16:23:18 +01:00
Dave Halter
2dfbc2a0fd Start to rework dynamic params. However goto is now needed first. 2014-11-17 12:34:32 +01:00
Dave Halter
03e01631cc Remove NamePart from existance and rename it to Name. 2014-09-26 16:29:53 +02:00
Dave Halter
78bd775889 Only real modules should be added in get_modules_containing_name. 2014-09-19 18:05:57 +02:00
Dave Halter
483f5c14ee Listeneres should be removed even in exception cases. Do a 'finally' cleanup. 2014-08-07 16:27:57 +02:00
Dave Halter
0a0673e87c refactoring in dynamic param searching 2014-08-04 01:39:05 +02:00
Dave Halter
7bba12e8c5 comments 2014-08-03 23:00:32 +02:00
Dave Halter
870abe73d4 Calling an InstanceElement of an Instance of CompiledObject doesn't raise an error anymore. Yes, it's really that complicated. 2014-07-30 19:49:41 +02:00
Dave Halter
3e0f719915 changed the way how the dynamic param function searches it's parent scope, to enable smooth list comprehension following 2014-06-22 13:48:30 +02:00
Dave Halter
248cca2e5e fix issues with empty *args as inputs 2014-05-31 11:03:37 +02:00
Dave Halter
eaf54942fc fix a slice issue with precedences. 2014-04-21 02:30:17 +02:00
Dave Halter
67f49da15c Increase maximum recursion depth. Makes sense for very complicated code (completions within Jedi), since Jedi itself uses so many recursions. 2014-04-20 14:55:05 +02:00
Dave Halter
240b0c9581 NamePart doesn't have an __eq__ method anymore 2014-04-18 14:36:10 +02:00
Dave Halter
394e2e77de refactored the development docs, which was badly needed especially since evaluate/dynamic.py doesn't contain a lot of functionality anymore. 2014-03-11 17:26:38 +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
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
53dbec52ab use find_types instead of find_names 2014-01-06 14:29:23 +01:00
Dave Halter
6df69478dc move load_module to imports 2014-01-05 13:51:22 +01:00
Dave Halter
fce36ebea4 move source_to_unicode to common 2014-01-05 13:17:04 +01:00
Dave Halter
4d7349411e probably finished the load_module method migration 2014-01-05 01:37:54 +01:00
Dave Halter
6ece1de22d move some imports around 2013-12-30 01:49:01 +01:00
Dave Halter
7b936cf6ec move dynamic array stuff to evaluate.iterable 2013-12-30 01:38:15 +01:00
Dave Halter
e4692381cb created evaluate.iterable to push arrays and generators into a seperate file 2013-12-30 01:02:18 +01:00
Dave Halter
8561217333 evaluator executions instead of direct instances 2013-12-29 19:40:45 +01:00
Dave Halter
0f6b5b222b add a stdlib module to make it easy to write functions in pure python (instead of evaluating them) 2013-12-29 03:05:05 +01:00
Dave Halter
75a1b6f8cb follow_paths -> follow_path, follow_path -> _follow_path 2013-12-28 15:00:04 +01:00
Dave Halter
46dd0a9abe follow_call_path -> eval_call_path 2013-12-27 14:40:23 +01:00
Dave Halter
7347c46502 expression_list instead of commands in more places 2013-12-27 14:32:15 +01:00
Dave Halter
4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter
76eec7bfc5 follow_call -> eval_call 2013-12-27 12:02:49 +01:00
Dave Halter
eb30c3e6cf follow_statement -> eval_statement 2013-12-27 11:55:35 +01:00
Dave Halter
c862afb967 fix a few nasty bugs 2013-12-27 01:27:07 +01:00
Dave Halter
84c2be9f58 remove old way of using a separate decorator for search param memoization, use the default one 2013-12-26 02:32:32 +01:00