Dave Halter
439e394535
Fix call signatures.
2016-12-04 03:52:33 +01:00
Dave Halter
5b81a2375d
More tests and better understanding of if/try branches name resolution.
2016-11-29 10:21:50 +01:00
Dave Halter
aaaa3c24a5
Listeners should not be part of the parser tree. This is logic that belongs to the evaluation.
2016-11-02 09:22:19 +01:00
Dave Halter
2f1e9d634f
FunctionExecution improvement.
2016-10-02 19:54:03 +02:00
Dave Halter
249049b10c
Start using filters for name resolution.
2016-09-30 13:29:20 +02:00
Dave Halter
885cf62a12
Remove the position_modifier from the parser.
2016-09-18 00:50:31 +02:00
Dave Halter
c764976ef2
Merge branch 'remove_names_dicts' into diff
2016-09-11 13:24:11 +02:00
Dave Halter
7667cba17e
Remove old indent/dedent usages. Now they are not needed anymore.
2016-09-11 13:20:24 +02:00
Dave Halter
1226962922
Remove dedents from the parser tree. No need for them.
2016-09-11 13:03:29 +02:00
Dave Halter
91ed1da6f4
Better testing.
2016-09-08 00:17:54 +02:00
Dave Halter
00a8b3e4f1
Some more tests are passing.
2016-09-03 03:06:38 +02:00
Dave Halter
1e5ad467d3
Start debugging the beast.
2016-08-23 18:24:58 +02:00
Dave Halter
70220171fa
names_dict merging progress.
2016-08-20 14:21:37 +02:00
Dave Halter
fc7fd9d989
Fix some more fast parser issues.
2016-07-25 18:29:01 +02:00
Dave Halter
2d544c51c6
Better completions in comments.
2016-07-25 09:58:04 +02:00
Dave Halter
ff47fab62a
Remove Whitespace class and replace it with Newline and Endmarker.
2016-07-24 17:16:36 +02:00
Dave Halter
7f2f66f011
Trying to refactor the completion stack finding.
2016-07-24 17:06:54 +02:00
Dave Halter
2563746810
Fix issues with octals in Python 2 (and possibly 3). Fixes #559 .
2016-07-17 22:36:26 +02:00
Dave Halter
1c0aa06c7d
PEP 3132 unpacking should not raise an error (it may yield wrong results though at the moment), fixes #707 .
2016-07-10 17:51:01 +02:00
Dave Halter
4a19376187
Fix issue https://github.com/DamnWidget/anaconda/issues/449 . Using self should not cause side effects in completion.
2016-07-06 18:31:47 +02:00
Dave Halter
4243adf54b
Add param splitting test.
2016-07-06 08:30:27 +02:00
Dave Halter
52c42c3392
Reenable call signature caching and move a lot of parser specific caching to the parser itself.
2016-06-28 08:46:29 +02:00
Dave Halter
6f366e2d77
Rename next_sibling and prev_sibling.
2016-06-14 23:22:33 +02:00
Dave Halter
78d25541bb
The parser tree doesn't need to care about error statements anymore.
2016-06-14 18:12:19 +02:00
Dave Halter
01ddacfec4
Generalize the tuple order of tokens.
2016-06-14 08:57:38 +02:00
Dave Halter
c82691a12b
Make goto_definitions a lot simpler.
2016-06-11 23:13:04 +02:00
Dave Halter
82c76fa689
Merge with the linter branch (especially the changes of pep484.
2016-06-07 13:51:25 +02:00
Dave Halter
dd85fc6ffd
Add error token in a normal way to the syntax tree as ErrorLeaf.
2016-06-05 14:49:57 +02:00
Dave Halter
0c7894b3e6
Fix a few fast parser tests.
2016-06-02 08:24:52 +02:00
Dave Halter
ad8d730a57
More test fixes.
2016-05-31 01:12:07 +02:00
Dave Halter
4f6368e7eb
Now ErrorLeaf and ErrorNode are part of the syntax tree. This makes probably sense. The documentation will follow once it's clear how they will shape out.
2016-05-30 00:34:58 +02:00
Dave Halter
daa68b66ad
Fix a few issues caused by the refactoring.
2016-05-29 19:49:35 +02:00
Dave Halter
feef45f4bb
Fixed all on_import tests.
2016-05-29 12:08:53 +02:00
Dave Halter
4714b464a6
Further import completion improvements.
2016-05-28 02:08:43 +02:00
Dave Halter
cbba314286
Progress and actually passing a few tests.
2016-05-26 00:10:54 +02:00
Claude
641fb80773
add support for 'with-assignment' hints
2016-02-15 17:52:21 +01:00
Claude
3a1b2e7104
add support for 'for-assignment' hints
2016-02-15 17:37:03 +01:00
Claude
8b28678d19
support tuple-assignment
2016-02-15 17:04:19 +01:00
Claude
a658f7940c
typehints for variables in comments
2016-02-15 16:03:23 +01:00
Claude
daeee4ba0c
simple typehints in comments
2016-02-15 15:12:07 +01:00
Claude
ca08b8270b
combine power-or-atom_expr statements into one statement
2016-02-15 10:20:25 +01:00
Claude
241abe9cf3
python 3.5 uses atom_expr node in many places where previous python would use power node
2016-02-09 11:42:53 +01:00
Dave Halter
b479e157fc
Fix an issue in YieldExpr.
2015-12-26 11:39:37 +01:00
Dave Halter
ab5d0ed72b
Starting with Python 3.4 from is not a token that always is a "new" statement.
2015-12-26 02:47:22 +01:00
Dave Halter
c4906e0e3f
Rework the parser so we can use arbitrary start nodes of the syntax.
...
This also includes a rework for error recovery in the parser. This is now just possible for file_input parsing, which means for full files.
Includes also a refactoring of the tokenizer. No more do we have to add an additional newline, because it now works correctly (removes certain confusion.
2015-12-20 22:25:41 +01:00
Dave Halter
23f40d8998
Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484
...
Conflicts:
AUTHORS.txt
2015-12-17 23:46:20 +01:00
Dave Halter
7141158484
Merge master into linter.
2015-12-15 12:28:38 +01:00
Claude
3cef8b6d55
string-annotations should only be interpreted by the pep-0484 code, not the parser
2015-12-15 00:31:47 +01:00
Claude
0f6fb23d91
override annotation() in Lambda, instead of checking in Function on type
2015-12-14 22:02:11 +01:00
Claude
f8debace0d
forward reference pep-0484
2015-12-13 23:47:45 +01:00