1
0
forked from VimPlug/jedi
Commit Graph

301 Commits

Author SHA1 Message Date
Dave Halter 536e62e67d Move is_scope and get_parent_scope out of the parser. 2017-05-07 14:58:53 +02:00
Dave Halter a846e687c3 Move search_ancestor to jedi.parser.tree. 2017-04-27 21:41:24 +02:00
Dave Halter d6d25db9a2 Remove __str__ from name. 2017-04-12 23:06:11 +02:00
Dave Halter a0b65b52c6 used_names -> get_used_names(). 2017-04-12 08:56:11 +02:00
Dave Halter 769cc80d6b Cleanup with_stmt. 2017-04-09 21:20:33 +02:00
Dave Halter f855c2bb70 More parser tree simplifications. 2017-04-09 13:24:17 +02:00
Dave Halter ed8370fa68 isinstance to type conversions. 2017-04-01 18:08:59 +02:00
Dave Halter 4cc467123c Use PythonNode and not Node in the evaluator. 2017-04-01 17:39:52 +02:00
Dave Halter 6a9c2f8795 Start using ContextualizedNode for py__iter__. 2017-03-28 01:34:07 +02:00
Dave Halter 448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter 445bf6c419 Get rid of get_parent_until. 2017-02-03 09:59:32 +01:00
Dave Halter b3cb7b5490 Remove the def isinstance from the parser. It was a really bad pattern. 2017-02-03 09:37:59 +01:00
Dave Halter d85ceb9222 More cleanups in the parser. 2017-01-23 20:10:02 +01:00
Dave Halter ae8e43d3c7 Move get_node() to tree_node and replace all the custom classdefs/funcdefs. 2017-01-05 23:43:12 +01:00
Dave Halter 9fb2644f03 Fix an issue with creating contexts. 2017-01-05 18:05:24 +01:00
Dave Halter 4e62e98539 Fix an issue with displaying attribute errors. 2016-12-18 21:37:15 +01:00
Dave Halter 5c52c7fb45 Completely remove names_dicts from the diff parser. 2016-12-17 17:15:44 +01:00
Dave Halter 589e1906e4 Cleanup the finder. 2016-12-17 16:59:21 +01:00
Dave Halter 57857b6332 Remove the ImportWrapper and replace it with something simpler. 2016-12-17 16:08:37 +01:00
Dave Halter a4fdc716b0 Improve a doctest. 2016-12-15 01:07:44 +01:00
Dave Halter 59a432bddd Fix flow analysis a bit in static analysis cases. 2016-12-13 18:07:41 +01:00
Dave Halter eaf0100446 Some analysis improvements. 2016-12-11 15:03:19 +01:00
Dave Halter 9d4786ddcb Refactor the descriptor logic. 2016-12-02 22:13:45 +01:00
Dave Halter 565989cf07 More small bug fixes. 2016-12-02 15:21:50 +01:00
Dave Halter 16a48a7a45 Fix a lot of list comprehensions. 2016-12-02 11:17:55 +01:00
Dave Halter dac372405e Fix some isinstance checks. 2016-11-30 00:26:12 +01:00
Dave Halter ba52ecd0df Some isinstance/flow analysis improvements. 2016-11-29 18:19:15 +01:00
Dave Halter f6070496ad Fixes to the isinstance tests. 2016-11-28 09:34:59 +01:00
Dave Halter bad1f85f8f Improvements towards arrays / predefined names logic. 2016-11-25 23:31:45 +01:00
Dave Halter 8fd08c86b7 Fix some mostly iterable related stuff. 2016-11-24 21:06:55 +01:00
Dave Halter ba03f1dcb9 Fix properties. 2016-11-16 21:16:12 +01:00
Dave Halter af7c13d2e6 List comprehensions now at least don't cause errors anymore. 2016-11-16 09:43:45 +01:00
Dave Halter 31514dfe76 Fix a lot on PEP 484. 2016-11-14 23:29:09 +01:00
Dave Halter b2bdfe4a28 Array fixes except for conversions. 2016-11-13 16:18:46 +01:00
Dave Halter 21cfe4fc21 Fix the decorator issues. 2016-11-13 04:07:23 +01:00
Dave Halter 853f9fdb08 Somre more fixes towards basic stuff. 2016-11-12 14:23:44 +01:00
Dave Halter 469d6940a7 Fix global statements. 2016-11-12 13:11:54 +01:00
Dave Halter 7848be97ab Some improvements towards iterators. 2016-11-12 03:53:25 +01:00
Dave Halter 052f6bf9e7 Fix some small import stuff and the whole ordering tests. 2016-11-11 00:45:16 +01:00
Dave Halter 20380e80b0 Remove type(self).__name__ occurences, because python 2 will always output 'instance'. 2016-11-08 19:18:03 +01:00
Dave Halter 7f95495ca5 More instance improvements. 2016-11-06 23:50:29 +01:00
Dave Halter 2eb701d2d2 Some class fixes. 2016-11-01 18:28:47 +01:00
Dave Halter 6d8ff9293d Fixes to decorators and *arg functions. 2016-10-31 09:19:58 +01:00
Dave Halter 3cce530ef4 Taking a stab at simple *args and generators. 2016-10-29 02:11:04 +02:00
Dave Halter bbb1d1e04c Better working flow scopes. 2016-10-28 00:36:17 +02:00
Dave Halter a620c7dbdb Try to get star arguments working just a little bit. 2016-10-27 18:14:20 +02:00
Dave Halter e34246eb00 Fix __call__. 2016-10-24 00:39:59 +02:00
Dave Halter 75b67af000 Starting to improve function calls. 2016-10-22 21:02:15 +02:00
Dave Halter 2e6603cc2e A lot of small improvements. 2016-10-22 17:40:42 +02:00
Dave Halter cad9ae8ab1 Start implemeting contexts with specialized TreeNameDefinitions to avoid gambling with the parser. 2016-10-20 19:36:44 +02:00