Dave Halter
|
45f9d4b204
|
Create better ways for debugging the diff parser
|
2018-12-30 16:03:54 +01:00 |
|
Dave Halter
|
f99fe6ad21
|
Fix diff-parser: Copying parts of if else should not lead to the whole thing being copied
|
2018-12-30 15:25:17 +01:00 |
|
Dave Halter
|
a64c32bb2a
|
Reenable diff parser parser counting in all tests
|
2018-12-30 02:46:44 +01:00 |
|
Dave Halter
|
e5fb1927bb
|
Fix: Make the NodesStack to a NodesTree
This fixes an issue with positions that were doubled if the stack was closed too early.
|
2018-12-30 01:27:37 +01:00 |
|
Dave Halter
|
0ef4809377
|
Fix for diff parser : Make sure that start_pos are growing always
The problem was that functions/classes were sometimes not well positioned. Now
all diff tests are ensuring that leaves always grow.
|
2018-12-28 21:49:49 +01:00 |
|
Dave Halter
|
29456a6c0a
|
Add a check to see if leaves have the right start positions
|
2018-12-28 02:24:22 +01:00 |
|
Dave Halter
|
3f7aad84f9
|
Make sure to treat async funcdefs the same way as normal funcdefs
|
2018-07-08 20:18:15 +02:00 |
|
Dave Halter
|
52e3db4834
|
Fix an issue in the diff parser
Forgot to check for functions/classes that were part of a decorator/async func.
Fixes https://github.com/davidhalter/jedi/issues/1132
|
2018-07-06 01:25:06 +02:00 |
|
Dave Halter
|
c2eacdb81c
|
The diff parser was slighly off with prefixes, fixes #1121
|
2018-05-20 19:13:50 +02:00 |
|
Dave Halter
|
065da34272
|
Fix an issue in the diff parser about endmarker newlines
This was discovered in https://github.com/davidhalter/jedi/issues/1000.
|
2018-03-11 23:41:18 +01:00 |
|
Dave Halter
|
ab027885c7
|
Refactor splitlines -> split_lines.
|
2017-08-15 19:54:21 +02:00 |
|
Dave Halter
|
e731eecdd8
|
Make the tokenizer version independent.
|
2017-07-11 23:29:44 +02:00 |
|
Dave Halter
|
9899c703ea
|
Fix a diff parser issue.
|
2017-07-09 11:55:23 +02:00 |
|
Dave Halter
|
7198df85ba
|
Remove issue if the previous leaf is an error leaf.
|
2017-07-08 23:12:08 +02:00 |
|
Dave Halter
|
b1b165c21e
|
Actually pass the tests again with removed remove_last_newline.
|
2017-06-01 18:29:52 +02:00 |
|
Dave Halter
|
dafffdc9b4
|
The parser cache in RAM has now grammar versioning.
|
2017-05-26 12:48:59 -04:00 |
|
Dave Halter
|
333046c253
|
load_python_grammar -> load_grammar.
|
2017-05-25 13:28:24 -04:00 |
|
Dave Halter
|
f2c257d7dd
|
Move the utility function parse to the __init__ script.
|
2017-05-24 00:08:58 -04:00 |
|
Dave Halter
|
5fab429163
|
Fix a diff parser issue with a test as well.
|
2017-05-22 15:37:26 -04:00 |
|
Dave Halter
|
23d1470618
|
Add a more API focused grammar.
This makes it so we don't have to expose all the details of a pgen grammar to the user.
|
2017-05-21 17:02:15 -04:00 |
|
Dave Halter
|
0e99c4912f
|
Remove the last occurance of jedi in the test folder.
|
2017-05-15 15:10:23 -04:00 |
|
Dave Halter
|
206dfd113b
|
Use jedi less in the tests.
|
2017-05-15 13:53:30 -04:00 |
|
Dave Halter
|
7445c303e3
|
A test suite imported from jedi.
|
2017-05-11 09:43:37 -04:00 |
|