David Halter
|
fc5fdf929a
|
actually use the new types in the parser
|
2013-09-05 22:29:24 +04:30 |
|
David Halter
|
7383e5dc53
|
add String and Number instead of abusing Call for it
|
2013-09-05 22:19:05 +04:30 |
|
David Halter
|
9e54abaf22
|
StatementElement instead of Call and Call now inherits from that
|
2013-09-05 21:50:05 +04:30 |
|
David Halter
|
4c6a58644e
|
removed used_vars and set_vars parameters, because they are unused
|
2013-09-03 01:17:35 +04:30 |
|
David Halter
|
ba228d2ca0
|
remove used_vars completely
|
2013-09-03 01:05:58 +04:30 |
|
David Halter
|
31d992207c
|
add a names_are_set_vars variable to statement
|
2013-09-03 01:01:46 +04:30 |
|
David Halter
|
1fa5d34878
|
move some things from Flow to ForFlow
|
2013-09-03 00:22:09 +04:30 |
|
David Halter
|
15c9ed573d
|
it seems like all relevant used_vars usages have been removed
|
2013-09-02 23:43:51 +04:30 |
|
David Halter
|
2b88640c3a
|
statements should care for its own docstrings, not the parser
|
2013-09-02 23:12:10 +04:30 |
|
David Halter
|
afc388e2d7
|
replace used_vars for params
|
2013-09-02 22:03:47 +04:30 |
|
David Halter
|
e442dbbc4f
|
move also used_vars to a property, to show that it's not being written to
|
2013-09-02 21:52:42 +04:30 |
|
David Halter
|
37ecf943af
|
finally able to remove stmt.set_vars property
|
2013-09-02 21:43:23 +04:30 |
|
David Halter
|
9367b54a3d
|
get rid of set_vars class var in statement and define a wrapper for it, because it's still used
|
2013-09-02 17:23:08 +04:30 |
|
David Halter
|
a8510e51f1
|
use as_names as a way to inject 'set_vars' to statements
|
2013-09-02 16:23:13 +04:30 |
|
David Halter
|
ad16f34cda
|
generate set_vars now
|
2013-09-02 16:02:18 +04:30 |
|
David Halter
|
a253f07827
|
get rid of set_vars parent setting (use token_list instead).
|
2013-09-02 15:21:28 +04:30 |
|
David Halter
|
05b37e61cb
|
preparation to get rid of set_vars
|
2013-09-02 15:14:15 +04:30 |
|
David Halter
|
9c6dae1df8
|
temporarily disable old tests to refactor set_vars
|
2013-09-01 23:54:15 +04:30 |
|
David Halter
|
2e97986545
|
assignment details description
|
2013-09-01 22:22:20 +04:30 |
|
David Halter
|
3d3157eff8
|
remove unused set_vars, but there are still set_vars that shouldn't be in defined_names, #205
|
2013-08-31 23:52:12 +04:30 |
|
David Halter
|
5cec226d7e
|
remove unused Statement.get_command function
|
2013-08-18 00:07:46 +04:30 |
|
David Halter
|
6d9d07f873
|
remove useless is_empty function
|
2013-08-18 00:06:54 +04:30 |
|
David Halter
|
a6b6b6cbe8
|
parsing representation get_code tests
|
2013-08-18 00:06:08 +04:30 |
|
David Halter
|
2612963f58
|
fix many position problems
|
2013-08-17 00:34:20 +04:30 |
|
David Halter
|
7485802149
|
tests for class/func name positions
|
2013-08-16 22:38:56 +04:30 |
|
David Halter
|
51468b1e09
|
module name should have 0, 0 start/end_pos
|
2013-08-16 22:21:52 +04:30 |
|
David Halter
|
d4ff98aee2
|
Call should always have an end_pos
|
2013-08-16 22:15:02 +04:30 |
|
David Halter
|
2dd9ad7864
|
fix goto_definition on lambda problem, fixes #274
|
2013-08-09 13:51:45 +04:30 |
|
David Halter
|
284f2f1671
|
add __iter__method to InstanceElement, because it's needed for arrays
|
2013-07-24 17:21:49 +02:00 |
|
David Halter
|
db17c27bb8
|
removed old very strange string casts, that didn't really make sense and even though it mentioned a test, it wouldn't break after deleting it
|
2013-07-23 13:33:00 +02:00 |
|
David Halter
|
075c60de29
|
fix a problem related to #246: comments were used as normal strings
|
2013-07-18 12:18:07 +02:00 |
|
Laurens Van Houtven
|
73662fe893
|
More PEP8 indentation fixes
|
2013-07-11 15:26:07 +02:00 |
|
Laurens Van Houtven
|
cdc41128b4
|
(Mostly) whitespace fixes
|
2013-07-10 14:45:47 +02:00 |
|
Laurens Van Houtven
|
96477cbb13
|
Inline absolute import detection function
|
2013-07-10 12:24:19 +02:00 |
|
Laurens Van Houtven
|
402bc092e3
|
Remove has_explicit_absolute_import caching
|
2013-07-10 12:18:41 +02:00 |
|
Laurens Van Houtven
|
4068f5f058
|
Move has_absolute_import to SubModule class
|
2013-07-10 12:17:48 +02:00 |
|
Laurens Van Houtven
|
b5ee375fe1
|
Rename explicit_absolute_import to has_explicit_absolute_import
|
2013-07-10 12:12:33 +02:00 |
|
Laurens Van Houtven
|
e39f8a246e
|
Merge branch 'dev' of git://github.com/davidhalter/jedi
|
2013-06-23 22:50:00 +02:00 |
|
Laurens Van Houtven
|
368c7fd5b5
|
Only deal with explicit absolute_import
|
2013-06-23 22:30:53 +02:00 |
|
Laurens Van Houtven
|
58b165e4b6
|
Don't assume either namespace is not-None
|
2013-06-23 22:02:37 +02:00 |
|
Laurens Van Houtven
|
e82e3eaa0d
|
Don't assume every module has a namespace
|
2013-06-23 21:59:58 +02:00 |
|
Laurens Van Houtven
|
cb4acccfe5
|
More PEP8, minor cleanup
|
2013-06-22 09:54:18 +02:00 |
|
Laurens Van Houtven
|
5701ac1a10
|
Add absolute import detection
|
2013-06-21 17:02:17 +02:00 |
|
David Halter
|
c5169b2d66
|
parsing.Parser.scope -> parsing.Parser._scope, fixes #224
|
2013-05-19 10:25:00 +04:30 |
|
David Halter
|
f4e8972157
|
end_pos issues, fixes #150
|
2013-05-07 23:55:58 +04:30 |
|
David Halter
|
7c8fee1257
|
removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses
|
2013-05-03 21:26:29 +04:30 |
|
David Halter
|
c37515f938
|
included test from #162 (seems to be working), fixes #162
|
2013-05-03 15:01:30 +04:30 |
|
David Halter
|
300d43de19
|
PEP 3148 module formatting, fixes #207
|
2013-05-03 14:17:48 +04:30 |
|
David Halter
|
6204cb740b
|
merge with dev branch
|
2013-05-03 01:28:50 +04:30 |
|
David Halter
|
aebfb3d162
|
fix pass indentation in functions
|
2013-05-02 11:33:14 +04:30 |
|