1
0
forked from VimPlug/jedi
Commit Graph

117 Commits

Author SHA1 Message Date
David Halter
6912764923 fix position problems which came with lambdas 2013-02-23 00:40:34 +04:30
David Halter
7f051087e5 basic lambda implementation 2013-02-22 23:38:06 +04:30
David Halter
2fda713118 basic listcomprehension/lambda move 2013-02-22 23:02:44 +04:30
David Halter
9690cf3eaf removed merged Statement.used_funcs and used_vars (made no sense) 2013-02-21 21:30:57 +04:30
David Halter
774c191d7e removed code part of Statement 2013-02-21 21:26:22 +04:30
David Halter
6b5295bc40 also fixed nested list comprehensions 2013-02-21 01:39:49 +04:30
David Halter
4d3267b24f fix list comprehension problems for non-nested 2013-02-21 01:13:23 +04:30
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
c67b9986a6 some minor fixes / inits to inputs refactoring 2013-02-17 22:48:41 +04:30
David Halter
1366f5fa61 made ListComprehensions behave more llike typical 'pr' objects 2013-02-17 00:23:43 +04:30
David Halter
a14471ad48 split also the parser / parser_representation docstring 2013-02-05 18:13:44 +01:00
David Halter
42450f48dc change an indentifier (avoid naming collisions) 2013-02-05 16:16:58 +01:00
David Halter
d372e86317 splitted parsing into parsing and parsing_representation 2013-02-05 16:15:21 +01:00
Danilo Bargen
a0f07c90e8 Development doc fixes 2013-02-05 11:31:05 +01:00
David Halter
3678f235c0 new parsing docstring 2013-02-05 00:02:29 +01:00
David Halter
057ed6bda2 better parsing docstring 2013-02-04 17:55:38 +01:00
David Halter
4bf6332a83 rename some parser functions (add underlines) 2013-02-04 16:55:35 +01:00
David Halter
95c5b9a5e3 parsing.PyFuzzyParser -> Parser 2013-02-04 16:18:24 +01:00
David Halter
9eec549a39 make docstrings ready for sphinx 2013-02-04 14:23:50 +01:00
David Halter
3faf50049b fix sphinx warnings/errors 2013-02-04 11:09:07 +01:00
David Halter
7b150630f0 stopiteration works in strange ways in the parser in py2, fixes #70, affects probably davidhalter/jedi-vim#68 2013-01-12 12:15:32 +01:00
David Halter
af92f7f9f2 pickling works now (had problems deriving str, see http://stackoverflow.com/questions/14248633/python-pickle-derived-str-object), #102 2013-01-11 22:26:30 +01:00
David Halter
9031e425be renamed code -> source 2013-01-10 11:41:11 +01:00
David Halter
21ee6f400d improvement for pickling 2013-01-10 09:33:15 +01:00
David Halter
7b73072045 cleanup / pep8 2013-01-09 22:47:21 +01:00
David Halter
e9aadce5ae __slots__ usage works much better now -> scan for all slots and not only for current class 2013-01-09 21:44:59 +01:00
David Halter
7aa527f12e use_as_parent again and fast_parent_copy deals now with __slots__ 2013-01-09 15:23:33 +01:00
David Halter
b85c54932b parsing.set_parent -> use_as_parent 2013-01-09 15:21:04 +01:00
David Halter
232aafeb6a improved slot statements 2013-01-09 15:18:28 +01:00
David Halter
1557ea792f use __slots__ to reduce memory footprint of parser, #102 2013-01-08 14:54:56 +01:00
David Halter
35186629f0 delete token generator after parsing, lowers the memory footprint for 10k files with a factor of 5, #102 2013-01-08 11:57:10 +01:00
David Halter
3c15471182 fix problems with unbounderrors in assignment calls 2013-01-07 20:52:40 +01:00
David Halter
8fbe1c47a5 working inline refactoring 2013-01-07 20:19:42 +01:00
David Halter
07cb30d91b set end_pos Arrays better 2013-01-07 20:08:54 +01:00
David Halter
50e64cf930 corrected indent of some extract functions 2013-01-07 01:47:33 +01:00
David Halter
3f5e9d6bca some docstring improvements 2013-01-04 20:07:20 +01:00
David Halter
3bf0ec70fc improved goto on assignees (just return the assignee). 2012-12-26 20:53:15 +01:00
David Halter
bd93f8fd2d move some parser details to protected class members 2012-12-24 12:53:38 +01:00
David Halter
40898450af support for super() 2012-12-24 12:27:43 +01:00
David Halter
e647e09f0c fix problems with unnecessary brackets and following executions, which fixes also the last remaining lambda problem 2012-12-24 10:47:11 +01:00
David Halter
f05b960386 lambdas: fix problems with reverse tokenizer 2012-12-24 01:26:35 +01:00
David Halter
716d2362fd fixed mostly wrong lambda tests (and a few lambda improvements as well) 2012-12-23 15:52:49 +01:00
David Halter
c7fd196850 get_code is now able to process returns again 2012-12-22 20:28:34 +01:00
David Halter
e701a4ef92 lambdas: add correct parents and change evaluate 2012-12-22 19:43:30 +01:00
David Halter
77b2ea2dce basic lambda parsing 2012-12-22 19:27:44 +01:00
David Halter
ef1f637e71 Lambda class 2012-12-22 19:08:37 +01:00
David Halter
e789e41fde remove old return statements 2012-12-19 21:27:59 +01:00
David Halter
ca21f76128 no confusions in executions for dict assignments, fixes #83 2012-12-19 21:23:50 +01:00
David Halter
15510a4c3b more unicode casts instead of str casts 2012-12-19 18:46:32 +01:00
David Halter
df95416160 refactored return/yield parsing, fixes davidhalter/jedi-vim#49 2012-12-18 15:35:59 +01:00