1
0
forked from VimPlug/jedi
Commit Graph

1208 Commits

Author SHA1 Message Date
David Halter
89a2cb15d0 fix problems with positions in definitions with the same name on the same line 2013-02-17 00:14:30 +04:30
David Halter
8fd3910958 fix a get_code problem for instances/statements, which is not needed there, because get_code should only be called on pure parsing_representation objects 2013-02-16 23:38:07 +04:30
David Halter
fb0ea354ac fix a dynamic search param problem 2013-02-14 20:58:06 +04:00
David Halter
cda84dc92a add an empty IsScope class to match all scopes 2013-02-14 20:54:26 +04:00
David Halter
52b32a01c1 move default arguments [] to (), because mutable may be dangerous (especially in a recursive environment 2013-02-11 01:21:51 +01:00
David Halter
f423de1956 fix some descriptor methods 2013-02-11 01:08:45 +01:00
David Halter
cae38ed3d7 fix getattr/__getattr*__ 2013-02-11 00:50:32 +01:00
David Halter
f2a7788d66 fix InstanceElement get_commands (doesn't raise an error anymore, but I don't know if it works) 2013-02-11 00:21:05 +01:00
David Halter
de5de41627 fix last failing function tests 2013-02-11 00:06:31 +01:00
David Halter
da4ad7fd3f fix Name (instead of Param) as param key 2013-02-10 23:57:20 +01:00
David Halter
5722cd2382 fix parts of helpers.search_function_definition 2013-02-10 22:40:28 +01:00
David Halter
01c48593bf er.Array is now also iterable 2013-02-10 21:15:04 +01:00
David Halter
df17c98061 fixed the whole var args iterator stuff 2013-02-10 16:59:51 +01:00
David Halter
a091ee92a4 fix dictionary index problems 2013-02-10 16:12:30 +01:00
David Halter
fb6b3ce342 reintroduce parent and get_parent_until for er.Array, because an array is a builtin. always. 2013-02-10 15:58:02 +01:00
David Halter
7dce3cb964 param keys of dicts are statements now 2013-02-10 15:50:44 +01:00
David Halter
cd49126733 improved param generator 2013-02-10 02:01:27 +01:00
David Halter
0008531a30 pr.Array takes no values param anymore 2013-02-09 03:55:56 +01:00
David Halter
22a1b2397d simple function tests pass now 2013-02-09 03:55:30 +01:00
David Halter
a1e366f791 different little beauty improvements 2013-02-09 03:16:10 +01:00
David Halter
9540025a02 fixed some more array tests 2013-02-09 02:17:29 +01:00
David Halter
25b2239f6a repr corrections for Array/Statement/Call 2013-02-09 01:54:48 +01:00
David Halter
ffaaa68f56 fix unnessecary bracket stuff 2013-02-09 00:00:26 +01:00
David Halter
07f4c08069 some param fixes 2013-02-08 23:16:04 +01:00
David Halter
2fef25b1b1 fixed some dict issues 2013-02-08 21:18:58 +01:00
David Halter
a5e9977e94 fix first tuple assignments 2013-02-08 18:46:56 +01:00
David Halter
c831bfcca1 exchanged assignment_details order (another refactoring) 2013-02-08 18:06:11 +01:00
David Halter
bd393883b6 fixed assignment_detail parsing if tuples were used before = 2013-02-08 17:58:27 +01:00
David Halter
70f07320aa Statement.get_assignment_details -> get_commands (makes more sense) 2013-02-08 16:19:05 +01:00
David Halter
d6257fffc8 make array slicing work again 2013-02-08 15:50:35 +01:00
David Halter
942c620cde make the second test pass 2013-02-08 15:24:49 +01:00
David Halter
6c0a0e889c fix start_pos of multiple elements 2013-02-08 15:14:43 +01:00
David Halter
4f060ddcd9 refactor a lot of er.Array 2013-02-08 13:09:08 +01:00
David Halter
39f43c52fe little fixes for the dynamic module 2013-02-08 12:53:14 +01:00
David Halter
94126edda8 get rid of generate_param_array 2013-02-08 12:32:19 +01:00
David Halter
d82b8d5e19 remove close_brackets - not needed anymore 2013-02-08 02:43:05 +01:00
David Halter
5737e3ad1d fix __repr__ functions 2013-02-08 02:22:02 +01:00
David Halter
80d4c6e884 many refactoring fixes 2013-02-08 01:36:58 +01:00
David Halter
bf298f0ef4 start to get rid of parent_stmt 2013-02-07 18:34:18 +01:00
David Halter
6d2d23cd78 docstring update for parsing_representation 2013-02-07 18:19:35 +01:00
David Halter
0eeb1036ac removed more unused methods from Array 2013-02-07 18:07:20 +01:00
David Halter
f2451102c1 end_pos crap of Array 2013-02-07 17:58:44 +01:00
David Halter
d6a5a3e0e7 further removals of unused code, also changes evaluate, now. 2013-02-07 17:39:54 +01:00
David Halter
d2ab0fe862 basic concept for get_assignment_calls 2013-02-07 16:28:38 +01:00
David Halter
edb401eb48 basic implementation of recursive array parser in statement 2013-02-07 14:06:14 +01:00
David Halter
5be5d08441 heapy debugging in run.py 2013-02-07 10:18:19 +01:00
David Halter
0e41001dd6 er.ArrayElement -> ArrayMethod 2013-02-06 18:37:56 +01:00
David Halter
f3635ae75c imports docstring 2013-02-06 18:20:57 +01:00
David Halter
3530ccf69e builtin docstring 2013-02-06 16:06:59 +01:00
David Halter
fa5ce843cd builtin.parse_function_doc -> _parse_function_doc 2013-02-06 15:45:37 +01:00