1
0
forked from VimPlug/jedi
Commit Graph

213 Commits

Author SHA1 Message Date
Dave Halter
c8d6fbb0a1 temporary changes for the tokenizer issues 2014-02-20 00:43:42 +01:00
Dave Halter
1b6df4602d replace parser tokenizer offset with line offset 2014-02-17 23:02:04 +01:00
Dave Halter
6952596117 implement an offset in generate_tokens 2014-02-17 10:08:32 +01:00
Dave Halter
bb111daf91 removed line from tokenizer 2014-02-16 15:28:18 +01:00
Dave Halter
22928dbcd0 simplified some crazy iterator stuff within parser 2014-02-16 15:04:57 +01:00
Dave Halter
82f27569b2 little changes to clean up the code (flake8) 2014-02-14 12:53:22 +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
Dave Halter
2f3e4152b4 Merge branch 'get_code_fidelity' of git://github.com/ganwell/jedi into ganwell 2014-02-12 11:09:08 +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
8193f0c2b6 fix an issue with invalid syntax 2014-01-26 20:22:51 +01:00
Dave Halter
ba6a65c477 user_stmt refactoring 2014-01-26 19:30:05 +01:00
Dave Halter
6a4f33f373 call signatures with whitespace seem to be working 2014-01-26 19:13: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
7c105d27e0 some tests survive the new interpreter module already 2014-01-22 15:17:50 +01:00
Dave Halter
cd40e213ce Remove UserContextParser again from docstring stuff, not really needed there. use a simpler solution 2014-01-17 03:06:07 +01:00
Dave Halter
aa59aee3dc user_position removed from Parser. yikes! 2014-01-17 02:58:03 +01:00
Dave Halter
19b0e1d5b6 reenable check_user_statement in parser, that did the whole user names calculation 2014-01-17 02:48:00 +01:00
Dave Halter
b30a186f8f remove user_stmt and user_scope stuff - yes! 2014-01-17 02:34:09 +01:00
Dave Halter
fc1899ecd4 implement user_scope search separately in UserContextParser 2014-01-17 02:08:37 +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
92eba44d07 allow for flows to also be very faulty 2014-01-17 01:26:34 +01:00
Dave Halter
e5d40c3685 flow syntax errors should still make it possible to add them to the parser (otherwise parser doesn't include all the code 2014-01-17 01:15:36 +01:00
Dave Halter
588fbea4f9 start to remove user_stmt parsing 2014-01-17 00:25:30 +01:00
Dave Halter
6ef75256e0 fix end_pos stuff for fast parser 2014-01-17 00:24:45 +01:00
Dave Halter
4bf72eeaed create a customized UserContextParser for user_stmt and user_scope 2014-01-16 12:12:21 +01:00
Dave Halter
059b1e1353 underscore_memoization is now even easier in fast parser 2014-01-15 15:57:43 +01:00
Dave Halter
d71cdded6e some easier memoization for fast parser 2014-01-15 15:48:16 +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
5857b4dbc9 moved modules.py -> parser/user_context.py 2014-01-05 14:15:11 +01:00
Dave Halter
2e65fbb00f rename parser.tokenizer -> parser.tokenize 2014-01-05 13:38:14 +01:00
Dave Halter
261f49d3e2 move NoErrorTokenizer to the tokenizer module, where it more or less belongs. 2014-01-05 13:34:29 +01:00
Dave Halter
e115689b7f move NoErrorTokenizer to the parser, where it more or less belongs. 2014-01-05 13:25:11 +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
ff983f70bc fix execution recursion decorators 2013-12-26 18:01:54 +01:00
Dave Halter
05f7e6f4b5 import changes so that all local imports are 'from jedi.* import *' 2013-12-25 18:48:12 +01:00
Dave Halter
cf4b2c4557 the whole import thing seems to be working 2013-12-24 16:28:28 +01:00
Dave Halter
7bf6ff768c first steps to world domination -> removal of the hackish sys.path modifications 2013-12-24 16:23:13 +01:00
Jean-Louis Fuchs
cc1a89b637 * simplified statement 2013-12-13 01:24:25 +01:00