1
0
forked from VimPlug/jedi
Commit Graph

141 Commits

Author SHA1 Message Date
Dave Halter
8688def619 more statement parser deletions 2014-02-27 11:42:16 +01:00
Dave Halter
38d940cc2b remove start_pos definition from statement parser 2014-02-27 11:36:58 +01:00
Dave Halter
2061fbcacc small parse_stmt refactoring 2014-02-27 00:43:27 +01:00
Dave Halter
3332eba3f7 lambda problem with new operators 2014-02-27 00:17:52 +01:00
Dave Halter
fdabca20e9 fix get_code method for Operator (still ugly, though) 2014-02-26 22:23:21 +01:00
Dave Halter
3330e29748 more problems fixed that relate to Operator 2014-02-26 22:08:51 +01:00
Dave Halter
2e12eb7861 start with the integration of an Operator class to make way for precedences 2014-02-26 14:44:51 +01:00
Dave Halter
acec5fe76f fake docstrs fixed 2014-02-26 02:38:28 +01:00
Dave Halter
44e16c11e5 fixed docstr problems with unified interfaces 2014-02-26 02:33:18 +01:00
Dave Halter
5e5bb618ea remove token.py, docstrings are now just normal tokens until used 2014-02-26 01:13:38 +01:00
Dave Halter
18e985a961 TokenInfo -> Token 2014-02-25 16:44:48 +01:00
Dave Halter
ee7108cc11 successfully removed __str__ and __unicode__ methods from token.Token 2014-02-25 16:21:53 +01:00
Dave Halter
aea2c4620f more unicode switches in the parser 2014-02-25 14:27:50 +01:00
Dave Halter
f4f79317fe start uniting tokenize.TokenInfo and token.Token 2014-02-25 13:54:18 +01:00
Dave Halter
8e847f4982 fix python 2.7 issues. the parser now only takes unicode inputs 2014-02-23 11:44:32 +01:00
Dave Halter
d704743422 more consistent __slots__ usage in the parser -> 20% memory decrease for wx 2014-02-14 00:56:42 +01:00
Dave Halter
bb4d77f2a8 minor changes to the NamePart representation 2014-02-13 19:53:41 +01:00
Dave Halter
600371632f NamePart is now no str subclass anymore. They are separated, which makes us save a lot of dicts 2014-02-13 19:22:36 +01:00
Dave Halter
040ea2b735 fix a few annoyances to be quicker to develop now (disabled a few tests for now) 2014-02-13 15:40:51 +01:00
Jean-Louis Fuchs
34e89fa1c5 Merge branch 'dev' into get_code_fidelity
Conflicts:
	jedi/evaluate/docstrings.py
	jedi/parser/representation.py

Resolving merge problems:
* Introducing docstring for compiled.fake
* Partly fixing poor decision in TokenDocstring __init__
2014-01-28 00:37:06 +01:00
Dave Halter
4a71f4beeb fixes for the interpreter stuff, py27 works now fine 2014-01-22 15:42:11 +01:00
Dave Halter
33b7c341ab minor changes 2014-01-17 01:40:30 +01:00
Dave Halter
8b34e120e0 for loops are now parsed even if they are really faulty and don't end. 2014-01-17 01:39:23 +01:00
Dave Halter
99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter
cdd356ff9b removed pr.String and pr.Number in favor of the more general pr.Literal 2014-01-13 16:47:01 +01:00
Dave Halter
682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter
d430ef53a7 fix a few more minor issues 2014-01-11 16:14:58 +01:00
Dave Halter
9056dc1b9b fixed some array indexing 2014-01-09 19:55:00 +01:00
Dave Halter
1a3541e3aa removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported) 2014-01-07 17:46:22 +01:00
Dave Halter
2e65fbb00f rename parser.tokenizer -> parser.tokenize 2014-01-05 13:38:14 +01:00
Dave Halter
78ac8b2fd6 use it for the parser representation as well 2014-01-05 11:29:12 +01:00
Dave Halter
91f377eeb6 pep8 stylings 2013-12-27 14:35:30 +01:00
Dave Halter
7347c46502 expression_list instead of commands in more places 2013-12-27 14:32:15 +01:00
Dave Halter
4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter
05f7e6f4b5 import changes so that all local imports are 'from jedi.* import *' 2013-12-25 18:48:12 +01:00
Jean-Louis Fuchs
d687fa4df6 * replaced docstr-string with TokenDocstring object 2013-12-13 01:22:56 +01:00
Jean-Louis Fuchs
53e4962711 * started create paralell get_code 2013-12-12 22:11:15 +01:00
Jean-Louis Fuchs
3204a39f6c * made Token readonly like a tuple by using @property
* end_pos calculation didn't respect multiline tokens
* replaced all index access to Token
* wrapped all code that injects token tuples with
  Token.from_tuple()
* repr of Token is still its tuple form!?
* PEP8 where I read or wrote code
2013-12-08 01:32:58 +01:00
David Halter
9bbd73bf86 fix problems with set_vars that were no set_vars 2013-09-06 15:24:14 +04:30
David Halter
9eca33f55c final import renamings for the new parser package 2013-09-06 01:27:07 +04:30
David Halter
390442dc3b move all the parser stuff into a seperate package 2013-09-06 00:58:57 +04:30