Commit Graph

1217 Commits

Author SHA1 Message Date
David Halter
c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
David Halter
b2aa8b8024 get_parent_until for ListComprehension 2013-02-18 20:52:07 +04:30
David Halter
30fa504457 fix some more dynamic problems 2013-02-18 20:41:27 +04:30
David Halter
4e102e25e6 fix some of the dynamic bugs 2013-02-17 23:23:57 +04:30
David Halter
108f395670 fixed ordering.py tests 2013-02-17 22:58:13 +04:30
David Halter
c67b9986a6 some minor fixes / inits to inputs refactoring 2013-02-17 22:48:41 +04:30
David Halter
779ce6509d first dynamic array work 2013-02-17 22:15:11 +04:30
David Halter
79216f189f moved parsing.Simple.module to _sub_module 2013-02-17 00:30:44 +04:30
David Halter
1366f5fa61 made ListComprehensions behave more llike typical 'pr' objects 2013-02-17 00:23:43 +04:30
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