Dave Halter
|
3c75f27376
|
Move the base Context stuff to another module to keep context free for imports.
|
2017-09-30 16:46:07 +02:00 |
|
Dave Halter
|
95930d293c
|
Move instance module to the context package.
|
2017-09-29 15:14:56 +02:00 |
|
Dave Halter
|
d9d3aeb5bc
|
Move more functions to the syntax tree module.
|
2017-09-28 09:16:43 +02:00 |
|
Dave Halter
|
d584b698b7
|
Move eval_element and eval_stmt to the syntax tree module.
|
2017-09-27 18:14:04 +02:00 |
|
Dave Halter
|
5415a6164f
|
Starting to try to move some functions away from Evaluator.
This time eval_trailer.
|
2017-09-27 16:21:02 +02:00 |
|
Dave Halter
|
b74c8cb033
|
To be able to customize ContextSet, move a subclass to evaluate.context
|
2017-09-27 09:20:58 +02:00 |
|
Dave Halter
|
174eff5875
|
Replace a lot more of empty sets and unite calls.
|
2017-09-25 23:08:59 +02:00 |
|
Dave Halter
|
5328d1e700
|
Add a ContextSet.
This is not bug free yet, but it's going to be a good abstraction for a lot of small things.
|
2017-09-25 11:04:09 +02:00 |
|
Dave Halter
|
a433ee7a7e
|
Move common to evaluate.utils.
|
2017-09-20 20:33:01 +02:00 |
|
Dave Halter
|
4c2d1ea7e7
|
Understand context managers correctly
Fixes #812.
|
2017-09-13 11:00:34 +02:00 |
|
Dave Halter
|
619acbd2ca
|
Goto didn't work well on imports in __init__.py files.
Fixes #956.
|
2017-09-11 21:48:37 +02:00 |
|
Dave Halter
|
65c02a2332
|
A bit of shuffling code around get_definition around.
|
2017-09-03 01:05:53 +02:00 |
|
Dave Halter
|
f69d8f1f29
|
_get_definition -> get_definition in parso.
|
2017-09-03 00:50:52 +02:00 |
|
Dave Halter
|
03da6b5655
|
get_definition change in finder.
|
2017-09-02 21:46:03 +02:00 |
|
Dave Halter
|
16f1eb417a
|
One more parso rename.
|
2017-09-01 18:05:19 +02:00 |
|
Dave Halter
|
39cbd003c0
|
A small change in parso changed the normalize API.
|
2017-08-06 16:43:47 +02:00 |
|
Dave Halter
|
72b4c8bd9f
|
The normalize function is private for now.
|
2017-07-08 18:56:42 +02:00 |
|
Dave Halter
|
5d657500d1
|
Use the new normalize function instead of get_code(normalize=True) that was removed in parso.
|
2017-05-27 13:12:11 -04:00 |
|
Dave Halter
|
9bca3d39f5
|
Actually use parso now instead of Jedi.
|
2017-05-19 14:20:14 -04:00 |
|
Dave Halter
|
536e62e67d
|
Move is_scope and get_parent_scope out of the parser.
|
2017-05-07 14:58:53 +02:00 |
|
Dave Halter
|
a846e687c3
|
Move search_ancestor to jedi.parser.tree.
|
2017-04-27 21:41:24 +02:00 |
|
Dave Halter
|
d6d25db9a2
|
Remove __str__ from name.
|
2017-04-12 23:06:11 +02:00 |
|
Dave Halter
|
a0b65b52c6
|
used_names -> get_used_names().
|
2017-04-12 08:56:11 +02:00 |
|
Dave Halter
|
769cc80d6b
|
Cleanup with_stmt.
|
2017-04-09 21:20:33 +02:00 |
|
Dave Halter
|
f855c2bb70
|
More parser tree simplifications.
|
2017-04-09 13:24:17 +02:00 |
|
Dave Halter
|
ed8370fa68
|
isinstance to type conversions.
|
2017-04-01 18:08:59 +02:00 |
|
Dave Halter
|
4cc467123c
|
Use PythonNode and not Node in the evaluator.
|
2017-04-01 17:39:52 +02:00 |
|
Dave Halter
|
6a9c2f8795
|
Start using ContextualizedNode for py__iter__.
|
2017-03-28 01:34:07 +02:00 |
|
Dave Halter
|
448bfd0992
|
Move the python parser tree.
|
2017-03-16 17:20:32 +01:00 |
|
Dave Halter
|
445bf6c419
|
Get rid of get_parent_until.
|
2017-02-03 09:59:32 +01:00 |
|
Dave Halter
|
b3cb7b5490
|
Remove the def isinstance from the parser. It was a really bad pattern.
|
2017-02-03 09:37:59 +01:00 |
|
Dave Halter
|
d85ceb9222
|
More cleanups in the parser.
|
2017-01-23 20:10:02 +01:00 |
|
Dave Halter
|
ae8e43d3c7
|
Move get_node() to tree_node and replace all the custom classdefs/funcdefs.
|
2017-01-05 23:43:12 +01:00 |
|
Dave Halter
|
9fb2644f03
|
Fix an issue with creating contexts.
|
2017-01-05 18:05:24 +01:00 |
|
Dave Halter
|
4e62e98539
|
Fix an issue with displaying attribute errors.
|
2016-12-18 21:37:15 +01:00 |
|
Dave Halter
|
5c52c7fb45
|
Completely remove names_dicts from the diff parser.
|
2016-12-17 17:15:44 +01:00 |
|
Dave Halter
|
589e1906e4
|
Cleanup the finder.
|
2016-12-17 16:59:21 +01:00 |
|
Dave Halter
|
57857b6332
|
Remove the ImportWrapper and replace it with something simpler.
|
2016-12-17 16:08:37 +01:00 |
|
Dave Halter
|
a4fdc716b0
|
Improve a doctest.
|
2016-12-15 01:07:44 +01:00 |
|
Dave Halter
|
59a432bddd
|
Fix flow analysis a bit in static analysis cases.
|
2016-12-13 18:07:41 +01:00 |
|
Dave Halter
|
eaf0100446
|
Some analysis improvements.
|
2016-12-11 15:03:19 +01:00 |
|
Dave Halter
|
9d4786ddcb
|
Refactor the descriptor logic.
|
2016-12-02 22:13:45 +01:00 |
|
Dave Halter
|
565989cf07
|
More small bug fixes.
|
2016-12-02 15:21:50 +01:00 |
|
Dave Halter
|
16a48a7a45
|
Fix a lot of list comprehensions.
|
2016-12-02 11:17:55 +01:00 |
|
Dave Halter
|
dac372405e
|
Fix some isinstance checks.
|
2016-11-30 00:26:12 +01:00 |
|
Dave Halter
|
ba52ecd0df
|
Some isinstance/flow analysis improvements.
|
2016-11-29 18:19:15 +01:00 |
|
Dave Halter
|
f6070496ad
|
Fixes to the isinstance tests.
|
2016-11-28 09:34:59 +01:00 |
|
Dave Halter
|
bad1f85f8f
|
Improvements towards arrays / predefined names logic.
|
2016-11-25 23:31:45 +01:00 |
|
Dave Halter
|
8fd08c86b7
|
Fix some mostly iterable related stuff.
|
2016-11-24 21:06:55 +01:00 |
|
Dave Halter
|
ba03f1dcb9
|
Fix properties.
|
2016-11-16 21:16:12 +01:00 |
|