Commit Graph

6880 Commits

Author SHA1 Message Date
Dave Halter
9290b7291b get_param -> get_executed_param_name 2019-08-24 14:33:19 +02:00
Dave Halter
4969b52ddf Reuse a function 2019-08-24 14:18:08 +02:00
Dave Halter
06a6cea02d DynamicExecutedParams -> DynamicExecutedParamName 2019-08-24 14:14:45 +02:00
Dave Halter
9469533b9f Make InstanceExecutedParam a ParamName 2019-08-24 14:08:11 +02:00
Dave Halter
98d0fc632e Some more renames 2019-08-24 14:02:04 +02:00
Dave Halter
622db8d2d7 Actually start using names for executed param names 2019-08-24 13:52:50 +02:00
Dave Halter
0619d58cd3 search_params -> search_param_names 2019-08-24 13:47:19 +02:00
Dave Halter
b1d2f2462b get_executed_params_and_issues -> get_executed_param_names_and_issues 2019-08-24 13:45:47 +02:00
Dave Halter
bccc85f453 Remove a strange comment 2019-08-24 13:41:41 +02:00
Dave Halter
4db6793719 Remove an isisinstance check that is no longer needed 2019-08-24 13:40:03 +02:00
Dave Halter
ec6fa0c97c Differentiate between a public name and an internal string_name 2019-08-24 13:35:15 +02:00
Dave Halter
8b1f35a8b1 Use get_kind in ExecutedParam 2019-08-24 13:20:53 +02:00
Dave Halter
e7020bea3d Use infer_annotation only from param name 2019-08-24 13:09:00 +02:00
Dave Halter
bb3eb23864 Move docstring param recognizing 2019-08-24 12:32:50 +02:00
Dave Halter
88cf198552 Avoid function executions if they are not necessary
This also means that annotations are prefered to docstring types
2019-08-24 12:23:33 +02:00
Dave Halter
e0f26dd7a1 get_function_execution -> as_context 2019-08-24 11:16:20 +02:00
Dave Halter
d913d7d701 Don't use filter_name for global completions 2019-08-24 11:02:45 +02:00
Dave Halter
dd6befdc52 Cosmetics 2019-08-24 03:22:26 +02:00
Dave Halter
c1d8454f0c Finally get rid of NameFinder 2019-08-24 03:21:00 +02:00
Dave Halter
c4b0b45a1d Move the isinstance checks out of finder 2019-08-24 03:09:40 +02:00
Dave Halter
eba088b049 Move some static analysis details out of finder 2019-08-24 02:51:11 +02:00
Dave Halter
ba67d384c1 Remove predefined_names from value, it's not needed anymore 2019-08-24 02:41:10 +02:00
Dave Halter
ba9c318d22 Move predefine_names to context 2019-08-24 02:39:51 +02:00
Dave Halter
ce3ec4eecb Rename value -> context for some more places 2019-08-24 02:36:29 +02:00
Dave Halter
e148d5120f Move some finder stuff around 2019-08-24 02:28:58 +02:00
Dave Halter
3828532065 Move a debugging statement out of finder 2019-08-24 02:13:52 +02:00
Dave Halter
6d361e03ac Avoid import recursions in other ways 2019-08-24 02:06:57 +02:00
Dave Halter
250ac77f4a Remove a check that is not needed 2019-08-24 01:11:31 +02:00
Dave Halter
ddb2ccb657 Move error handling for py__getattribute__ 2019-08-24 00:59:48 +02:00
Dave Halter
bd24ee2ab3 Move a paragraph 2019-08-24 00:46:16 +02:00
Dave Halter
b13a9f7d5b Trying to move towards unifying goto and py__getattribute__ 2019-08-24 00:18:48 +02:00
Dave Halter
fcec30dff6 Use py__getattribute__alternatives instead of overwriting py__getattribute__ 2019-08-23 23:04:17 +02:00
Dave Halter
0992dc7ae9 Move __getattr__ and __getattribute__ logic to instance
Now getattr warnings might be wrong
2019-08-23 21:59:01 +02:00
Dave Halter
60a73f6bac Move get_global_filters to the context module 2019-08-23 21:19:17 +02:00
Dave Halter
a9d8f389a9 Avoid using get_global_filters if it's not needed 2019-08-23 20:56:00 +02:00
Dave Halter
3fcecb3d6d Move the filter search to a different place 2019-08-23 16:29:13 +02:00
Dave Halter
ead0964282 _get_origin_scope is no longer really used 2019-08-23 16:21:14 +02:00
Dave Halter
0cbd1e6cff Avoid passing of contexts in multiple ways for self name filters 2019-08-23 15:45:26 +02:00
Dave Halter
b38da47981 Prefer readability 2019-08-23 15:33:15 +02:00
Dave Halter
c393a406ee Refactoring of the contexts to properly use inheritance 2019-08-23 15:28:55 +02:00
Dave Halter
7573e2033a Fix comprehension parent issues, fixes #1215 2019-08-23 14:34:16 +02:00
Dave Halter
ecc574025c Merge branch 'ngates/comprehension-parent' of https://github.com/gatesn/jedi into refactoring 2019-08-23 13:52:25 +02:00
Dave Halter
51ac055a38 Another _value removal 2019-08-23 13:42:07 +02:00
Dave Halter
c9e4cdaba1 Get rid of another private access 2019-08-23 13:34:04 +02:00
Dave Halter
aceef78a21 Get rid of a private access 2019-08-23 13:19:53 +02:00
Dave Halter
86f4f7be45 Remove a private access 2019-08-23 11:55:49 +02:00
Dave Halter
041fd992b3 create_value can deal with modules now 2019-08-23 00:45:59 +02:00
Dave Halter
05ce1c8237 Remove a test that tested a removed function 2019-08-23 00:26:15 +02:00
Dave Halter
3e684519e6 Very small refactoring 2019-08-23 00:24:30 +02:00
Dave Halter
9f3a2f93c4 Remove get_statement_of_position. It's not used anymore 2019-08-23 00:13:18 +02:00