Dave Halter
|
d12e030677
|
use tuples instead of lists if the don't change (immutable is faster and more memory efficient)
|
2014-03-06 00:26:23 +01:00 |
|
Dave Halter
|
a97c91002f
|
replace name and statement end_pos (this way we can get rid of all that end_pos crap soon)
|
2014-03-05 23:46:39 +01:00 |
|
Dave Halter
|
66a488b911
|
clean up parse_dot_name and other small things
|
2014-03-05 22:46:11 +01:00 |
|
Dave Halter
|
1f7e4ca637
|
dict literals are now working (at least the parser)
|
2014-03-05 18:46:43 +01:00 |
|
Dave Halter
|
387319fde5
|
simplify parse_array again (closure in statement parser)
|
2014-03-05 16:54:21 +01:00 |
|
Dave Halter
|
7222d70ecb
|
restructure token breaks in statement parser
|
2014-03-05 14:39:21 +01:00 |
|
Dave Halter
|
7d7a86239c
|
tests for list comprehensions with included dict literals
|
2014-03-05 14:23:53 +01:00 |
|
Dave Halter
|
2322edff8f
|
keyword statement not includes globals
|
2014-03-05 00:44:19 +01:00 |
|
Dave Halter
|
8bd8ba1df8
|
don't need to generate 'pass' anymore if a class is empty in get_code
|
2014-03-04 17:27:26 +01:00 |
|
Dave Halter
|
f54344fd9e
|
KeywordStatements are working except for some of the old ones (global, assert, return, yield)
|
2014-03-04 17:20:29 +01:00 |
|
Dave Halter
|
53fd1f925a
|
create KeywordStatement to fit assert, del, global, etc into a more generalized schema, which can also improve the get_code method
|
2014-03-04 15:35:24 +01:00 |
|
Dave Halter
|
65ce609a3c
|
protect token_list -> _token_list
|
2014-03-04 12:43:37 +01:00 |
|
Dave Halter
|
7de4b14461
|
remove crazy PushBackIterator from statement parser
|
2014-02-27 17:40:01 +01:00 |
|
Dave Halter
|
85b5fdf85f
|
again... statement parser
|
2014-02-27 17:12:16 +01:00 |
|
Dave Halter
|
1eba63760e
|
more change to simplify the statement parser
|
2014-02-27 16:58:08 +01:00 |
|
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 |
|