1
0
forked from VimPlug/jedi
Commit Graph

341 Commits

Author SHA1 Message Date
Dave Halter
d78a89df51 Move filter_after_position. 2015-01-09 01:37:42 +01:00
Dave Halter
26ecb16e5f CompiledObject.type resembles now the Node.type values. 2015-01-09 01:33:59 +01:00
Dave Halter
47fc3cbdfe Functions are not exceptions anymore in the name finder. 2015-01-08 14:14:01 +01:00
Dave Halter
af20eff943 Get completely rid of get_names_of_scope. 2015-01-08 13:19:42 +01:00
Dave Halter
05a9f19429 Delete more legacy code. 2015-01-08 02:43:13 +01:00
Dave Halter
7891cdfd48 Start deleting legacy code. 2015-01-08 02:33:35 +01:00
Dave Halter
82d8e45a1c Fix descriptors. 2015-01-08 02:29:33 +01:00
Dave Halter
83a94c12c9 Correct global name issues. 2015-01-08 01:20:53 +01:00
Dave Halter
dd40991669 filtering private variables is now also possible for CompiledObject (important for fake/builtins.pym). 2015-01-07 15:09:03 +01:00
Dave Halter
c451c0b29e Private variable filtering improved. 2015-01-07 14:44:19 +01:00
Dave Halter
987121ae5c Filter names in a separate function so that it can be used for both completion and name lookups. 2015-01-07 13:56:35 +01:00
Dave Halter
9178d314b0 Add search_global to names_dicts calls. 2015-01-06 15:30:59 +01:00
Dave Halter
8bad12522a Fix issues with module attributes 2015-01-06 01:12:55 +01:00
Dave Halter
7abdbb563c Fix list comprehensions 2015-01-06 00:24:11 +01:00
Dave Halter
54fcf7af9d Fix goto. 2015-01-05 23:55:38 +01:00
Dave Halter
65b33013e5 Few small issues. 2015-01-05 23:31:32 +01:00
Dave Halter
9cd8fabf2c Fix issues with generators. 2015-01-05 19:11:09 +01:00
Dave Halter
1d2704fb68 Descriptors work with names_dicts now. 2015-01-03 11:07:38 +01:00
Dave Halter
36819b3241 Filtering private variables seems to be working now at least in the evaluation engine. 2015-01-02 01:50:14 +01:00
Dave Halter
8157dd2da8 Fix most instance related issues. 2015-01-02 01:12:14 +01:00
Dave Halter
9de4a5479c Start using names_dicts instead of scope_names_generator. 2015-01-01 23:27:03 +01:00
Dave Halter
ed3cf5577e Compiled objects should also have a names_dict. 2014-12-26 12:49:40 +01:00
Dave Halter
3d080afd71 Cleanup finder. 2014-12-16 17:31:28 +01:00
Dave Halter
6afc5ccca5 Few docstring fixes. 2014-12-11 15:32:45 +01:00
Dave Halter
d4dfcfe321 NameFinder refactoring to make it possible to cache names_to_types. 2014-12-10 11:23:12 +01:00
Dave Halter
24c7142810 Fix issues with scope ordering in classes/functions. 2014-12-04 18:49:09 +01:00
Dave Halter
425741e285 Fix assertion/isinstance type information. 2014-12-02 17:45:19 +01:00
Dave Halter
cf0407e164 Add 'if isinstance' type information. 2014-12-02 17:34:36 +01:00
Dave Halter
88853c78f4 Get lambdas mostly working. 2014-12-01 02:47:48 +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
9b54541cae Remove quite a bit of the old parser representation logic. 2014-11-23 19:26:30 +01:00
Dave Halter
267016f533 Function for evaluating functions with already executed arguments. 2014-11-23 19:12:25 +01:00
Dave Halter
ba0e61d99f Star imports are now part of the ModuleWrapper. 2014-11-19 18:09:49 +01:00
Dave Halter
b0109343e4 Jedi didn't care for decorator 'dotted_name' nodes and therefore descriptor tests failed. 2014-11-18 15:44:40 +01:00
Dave Halter
90ce1ac47f Simplify decorators, make them easier to read in debugging mode. 2014-11-18 15:04:20 +01:00
Dave Halter
93ffc799f5 Because of the change in dynamic params, we can now remove the decorator hack in the name finder. 2014-11-18 13:06:20 +01:00
Dave Halter
f62f181066 First decorator implementations. 2014-11-17 22:24:54 +01:00
Dave Halter
22f20ec715 Treat executed params different from normal ones. 2014-11-17 13:35:16 +01:00
Dave Halter
13a128b160 global working. 2014-11-13 18:13:56 +01:00
Dave Halter
f3c2b4fc33 Get with statements working. 2014-11-13 12:51:49 +01:00
Dave Halter
1ab67ebbba Fix except statements names. 2014-11-13 01:02:56 +01:00
Dave Halter
408eee50dd Start fixing issues with for loops and += operations. 2014-11-12 14:54:52 +01:00
Dave Halter
c326562c27 Implemented x if foo else y case. 2014-11-12 11:49:27 +01:00
Dave Halter
54c5591ccb Progress with list comprehensions. There is now a separate class. 2014-11-12 11:42:31 +01:00
Dave Halter
cc661473bc Trying to change used_names, so that they don't contain name definitions from CompFor. 2014-11-11 17:13:27 +01:00
Dave Halter
8200b68549 Fix for loops and for loops tuple assignments. 2014-11-06 17:21:00 +01:00
Dave Halter
aa0c73c9ab Fixed a few small things in the parser. Flow analysis is working again. Completely. 2014-11-06 04:41:23 +01:00
Dave Halter
186ce2b70a Improve flow analysis a bit. 2014-11-05 19:18:45 +01:00
Dave Halter
c6c2768dda Parser error recovery simplified. Just fall back to scopes, if somethings wrong. 2014-11-04 09:40:32 +01:00