1
0
forked from VimPlug/jedi
Commit Graph

109 Commits

Author SHA1 Message Date
Dave Halter
d0eb8137e2 Remove old unused call_of_name madness. 2016-06-21 18:39:35 +02:00
Dave Halter
0a3bc34d6b Fix some more issues with the call_of_name function. 2016-06-21 18:39:02 +02:00
Dave Halter
b941e36f04 Another call_of_name fix (breaking tests.) 2016-06-21 09:49:12 +02:00
Dave Halter
5212849780 Fix the last known case of call signatures. Yay! 2016-06-20 18:32:44 +02:00
Dave Halter
e0631cfda2 Add new tests and certain fixes for some new call signature issues. 2016-06-20 18:20:35 +02:00
Dave Halter
32346c6da8 A lot of call signature refactorings. Note that this commit is totally broken. 2016-06-17 00:20:13 +02:00
Dave Halter
82c76fa689 Merge with the linter branch (especially the changes of pep484. 2016-06-07 13:51:25 +02:00
Dave Halter
4f6368e7eb Now ErrorLeaf and ErrorNode are part of the syntax tree. This makes probably sense. The documentation will follow once it's clear how they will shape out. 2016-05-30 00:34:58 +02:00
Dave Halter
daa68b66ad Fix a few issues caused by the refactoring. 2016-05-29 19:49:35 +02:00
Claude
ca08b8270b combine power-or-atom_expr statements into one statement 2016-02-15 10:20:25 +01:00
Claude
241abe9cf3 python 3.5 uses atom_expr node in many places where previous python would use power node 2016-02-09 11:42:53 +01:00
Dave Halter
379eb440cd Fix: the parent setting of deep_ast_copy worked the wrong way. 2016-01-07 18:52:06 +01:00
Dave Halter
55615fb3c1 unite returns a set now, this simplifies all the set(unite( calls. 2015-11-28 17:52:39 +01:00
Dave Halter
d739828a4b call_of_name was modified. Fixed an issue that was created earlier. 2015-07-01 13:58:05 +02:00
Dave Halter
a014d4fd38 Fix a bug in call_of_name.
It was possible to get a NAME(x) result when calling call_of_name on x, which shouldn't happen. It should just return x.
2015-06-29 11:27:10 +02:00
Dave Halter
64fcbbba79 First implementation of doing precise if statement filtering. 2015-06-22 22:16:38 +02:00
Dave Halter
ef4b424cda Replace pr with tree, #566. 2015-04-28 01:34:31 +02:00
Dave Halter
4613a810a5 Some small refactorings to the names_dict/deep_ast_copy logic. 2015-02-12 13:24:08 +01:00
Dave Halter
a8d3a9ab42 Remove old deep_ast_copy code. 2015-02-12 11:24:17 +01:00
Dave Halter
bcf6be0636 Radically rewrote deep_ast_copy. 2015-02-12 02:25:54 +01:00
Dave Halter
a12f259a0f Actually remove check_first from deep_ast_copy. 2015-02-11 14:47:28 +01:00
Dave Halter
315c687048 Remove the need for the check_first param in deep_ast_copy. 2015-02-11 14:46:51 +01:00
Dave Halter
bc722a70f2 Simplify deep_ast_copy. 2015-02-11 02:16:57 +01:00
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
a095f8d9e0 Replace some isinstance checks in the parser tree with .type checks. 2015-02-09 12:27:29 +01:00
Dave Halter
d0f1fd5267 Rename Simple -> BaseNode. 2015-02-05 14:18:30 +01:00
Dave Halter
0c1bbf78e2 Rename SubModule to Module, because that's a more fitting description. There were reasons for the name before the new fast parser, but those don't exist anymore. 2015-02-05 14:16:43 +01:00
Dave Halter
cf223a71f5 Add a position modifier for the fast parser. Not yet in use though. 2015-01-15 13:57:56 +01:00
Dave Halter
8bad12522a Fix issues with module attributes 2015-01-06 01:12:55 +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
ab9571bccd Remove FakeStatement 2014-12-18 03:24:12 +01:00
Dave Halter
237f0e526c Cleaning up evaluate.helpers. 2014-12-16 17:19:14 +01:00
Dave Halter
af303e10c8 Statement -> ExprStmt. 2014-12-15 16:18:09 +01:00
Dave Halter
d11ea73ef4 Re-enable AttributeError/NameError detection for more complicated occurances than just statements. 2014-12-11 19:18:00 +01:00
Dave Halter
bb7bbf51ec Deprecate jedi.defined_names in favor of jedi.names. 2014-12-11 00:41:36 +01:00
Dave Halter
936a3c9dfe Small cleanup: Removed a few print statements. 2014-12-08 16:03:23 +01:00
Dave Halter
0f01242954 named param goto. 2014-12-08 01:52:32 +01:00
Dave Halter
24903739f2 A first implementation of call signatures. 2014-12-05 16:05:54 +01:00
Dave Halter
ab254bbcba Call signature search progress. 2014-12-05 00:23:59 +01:00
Dave Halter
478acf8ccf partial is working partially now with the new parser, because invalid statements are not possible anymore (two times **kwargs) 2014-12-04 14:29:37 +01:00
Dave Halter
8f1002218d Very temporary solution for doing deep_ast_copy. 2014-12-04 11:19:33 +01:00
Dave Halter
99febfe6c2 Fixed a very nasty bug in deep_ast_copy. 2014-12-02 04:19:22 +01:00
Dave Halter
235672efc1 Fix an issue for stdlib regex completion. deep_ast_copy had a bug and also changed the way how decorators work. 2014-12-01 18:09:21 +01:00
Dave Halter
5d82b11f59 First implementation to be ready to complete corrupt imports. Working ok. 2014-11-25 19:35:27 +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
f604066288 First small implementation of goto. 2014-11-21 14:21:00 +01:00
Dave Halter
08bdcfb8ca Small issue with relative imports that don't contain a path after from. 2014-11-19 15:22:18 +01:00
Dave Halter
9d5f3162d7 More import stuff. Fake imports work a little bit better. 2014-11-18 18:22:26 +01:00