1
0
forked from VimPlug/jedi
Commit Graph

214 Commits

Author SHA1 Message Date
Dave Halter
b982b746e7 Fix problems with += stmts. 2015-01-06 11:24:13 +01:00
Dave Halter
54fcf7af9d Fix goto. 2015-01-05 23:55:38 +01:00
Dave Halter
ab9571bccd Remove FakeStatement 2014-12-18 03:24:12 +01:00
Dave Halter
b03330c5d7 Updating the docs of evaluate/__init__. 2014-12-15 16:00:16 +01:00
Dave Halter
5f892d62a6 Delete legacy code from evaluate. 2014-12-15 15:34:15 +01:00
Dave Halter
c4c3ef5a21 goto_definition on a name definition (statement) should land on the statement. 2014-12-11 12:48:23 +01:00
Dave Halter
0f01242954 named param goto. 2014-12-08 01:52:32 +01:00
Dave Halter
774ade955d Fixing for loop additions. 2014-12-04 17:58:01 +01:00
Dave Halter
1725abb1fd Fix issues with docstrings. 2014-12-03 20:30:03 +01:00
Dave Halter
09ad3411da Goto fixes. 2014-12-03 17:01:29 +01:00
Dave Halter
6314b80abd Some goto refactorings. 2014-12-03 16:52:05 +01:00
Dave Halter
6bf154de5e Better goto for imports, which helps usages. 2014-12-03 16:15:31 +01:00
Dave Halter
50752df6dd Fix an issue with combinations of InstanceElement and Lambdas. 2014-12-01 11:26:35 +01:00
Dave Halter
88853c78f4 Get lambdas mostly working. 2014-12-01 02:47:48 +01:00
Dave Halter
68bd9160e2 Fixed list comprehension name lookups. 2014-12-01 00:08:27 +01:00
Dave Halter
fae0a7b0c4 Small fixes for past mistakes. 2014-11-24 01:56:54 +01:00
Dave Halter
db76bbccc5 Trying to change the symbols in node. They are now strings.
With this change we are finally able to get rid of parser/pytree.py
2014-11-24 01:52:41 +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
ac41c31015 Removed more of the old parser representation code. 2014-11-23 19:33:18 +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
f1cbd45575 Usages are pretty solid now except for parser issues. 2014-11-22 15:43:23 +01:00
Dave Halter
22fbcf6c77 More goto improvements. 2014-11-21 15:45:17 +01:00
Dave Halter
eb0bfb4381 get_code in Definition.description should not return first prefix. 2014-11-21 15:33:38 +01:00
Dave Halter
f604066288 First small implementation of goto. 2014-11-21 14:21:00 +01:00
Dave Halter
cc465364d3 Fixes towards better MergedArray and partial functions. 2014-11-20 13:33:05 +01:00
Dave Halter
53c2a1679c Fix types tests. 2014-11-20 11:16:52 +01:00
Dave Halter
164518b993 Get docstrings working. 2014-11-20 02:19:01 +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
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
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
278bc9d705 Fix generators. 2014-11-14 02:05:25 +01:00
Dave Halter
408eee50dd Start fixing issues with for loops and += operations. 2014-11-12 14:54:52 +01:00
Dave Halter
65f182ff0d Separate class for Generator and List Comprehensions. 2014-11-12 13:28:31 +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
460d959988 Implicit tuples as a separate class. 2014-11-06 18:24:55 +01:00
Dave Halter
8200b68549 Fix for loops and for loops tuple assignments. 2014-11-06 17:21:00 +01:00
Dave Halter
d58046f38f Changed normal precedence calculation. 2014-11-06 03:47:42 +01:00
Dave Halter
fae798adfe Simplify precedence.factor_calculate. 2014-11-05 23:21:32 +01:00
Dave Halter
ca70d32f23 isinstance fixes 2014-11-05 22:14:38 +01:00
Dave Halter
fa0f4b1e00 Further small flow_analysis corrections. Keywords are only equal to other keywords if they are the same. Not in case of the same value anymore. 2014-11-05 21:29:54 +01:00
Dave Halter
186ce2b70a Improve flow analysis a bit. 2014-11-05 19:18:45 +01:00
Dave Halter
1c09a90ac1 Disable usage of filter_private_variable for now. 2014-10-28 17:00:12 +01:00
Dave Halter
4f2223ae7b Super is now working. Still has the same flaws like the old implementation, but the tests are passing. 2014-10-28 16:22:59 +01:00