Dave Halter
|
0f1570f682
|
position_nr -> position_index
|
2017-04-30 14:12:30 +02:00 |
|
Dave Halter
|
2383f5c0a0
|
docstrings for the parser tree.
|
2017-04-30 14:06:57 +02:00 |
|
Dave Halter
|
a1454e3e69
|
Fix a docstring test.
|
2017-04-30 03:11:09 +02:00 |
|
Dave Halter
|
78fd3ad861
|
is_generator is not needed in lambdas.
|
2017-04-30 03:07:48 +02:00 |
|
Dave Halter
|
1295d73efd
|
path_for_name -> get_path_for_name
|
2017-04-30 03:03:58 +02:00 |
|
Dave Halter
|
e2d6c39ede
|
Remove yields from lambda. It was previously removed from Function.
|
2017-04-30 02:59:09 +02:00 |
|
Dave Halter
|
076eea12bd
|
Some minor refactoring of the python tree.
|
2017-04-30 02:56:44 +02:00 |
|
Dave Halter
|
8165e1a27f
|
Add Module.iter_future_import_names to make checking for future imports easier.
|
2017-04-30 02:44:02 +02:00 |
|
Dave Halter
|
d8761e6310
|
Use names instead of the isinstance checks in _search_in_scope
|
2017-04-30 02:33:51 +02:00 |
|
Dave Halter
|
6e9911daa3
|
Scope.imports -> iter_imports.
|
2017-04-30 02:31:30 +02:00 |
|
Dave Halter
|
42fe1aeaa1
|
Move yields -> iter_yield_exprs.
|
2017-04-30 02:13:25 +02:00 |
|
Dave Halter
|
606871eb62
|
returns -> iter_return_stmts
|
2017-04-30 01:45:59 +02:00 |
|
Dave Halter
|
b4039872bd
|
Replace Scope.subscopes with iter_funcdefs and iter_classdefs.
|
2017-04-30 01:36:17 +02:00 |
|
Dave Halter
|
ad536a837c
|
A small change.
|
2017-04-28 18:29:35 +02:00 |
|
Dave Halter
|
b328e727ea
|
Remove Scope.walk, because it was never used.
|
2017-04-28 18:20:07 +02:00 |
|
Dave Halter
|
eaa5100372
|
Removed Scope.statements from the parser tree.
|
2017-04-28 18:18:58 +02:00 |
|
Dave Halter
|
307adc2026
|
Scope.flows is never used so remove it.
|
2017-04-28 00:23:47 +02:00 |
|
Dave Halter
|
3cf4c66112
|
Change some more docstring stuff.
|
2017-04-28 00:23:28 +02:00 |
|
Dave Halter
|
a846e687c3
|
Move search_ancestor to jedi.parser.tree.
|
2017-04-27 21:41:24 +02:00 |
|
Dave Halter
|
dea09b096d
|
Some docstrings for the parser.
|
2017-04-26 18:16:50 +02:00 |
|
Dave Halter
|
b4631d6dd4
|
Progress in removing the docstring/call signature logic from the parser.
|
2017-04-18 18:48:05 +02:00 |
|
Dave Halter
|
deb028c3fb
|
Move get_statement_of_position out of the parser tree.
|
2017-04-15 02:23:08 +02:00 |
|
Dave Halter
|
1cfe5c2945
|
Python3Method is not needed anymore in the parser.
|
2017-04-15 01:53:58 +02:00 |
|
Dave Halter
|
c4e51f9969
|
Use object for Python 2 classes.
|
2017-04-15 01:47:48 +02:00 |
|
Dave Halter
|
d6d25db9a2
|
Remove __str__ from name.
|
2017-04-12 23:06:11 +02:00 |
|
Dave Halter
|
73a38267cf
|
Simplify the Operator/Keyword string comparison.
|
2017-04-12 19:11:14 +02:00 |
|
Dave Halter
|
a0b65b52c6
|
used_names -> get_used_names().
|
2017-04-12 08:56:11 +02:00 |
|
Dave Halter
|
b0ac07228b
|
Restructure/Refactor has_absolute_import a bit.
|
2017-04-12 08:47:30 +02:00 |
|
Dave Halter
|
c056105502
|
get_except_clauses -> get_except_clause_tests
|
2017-04-12 08:40:27 +02:00 |
|
Dave Halter
|
7e560bffe8
|
Move in_which_test_node -> get_corresponding_test_node.
|
2017-04-12 08:35:48 +02:00 |
|
Dave Halter
|
6190a65f23
|
The Lambda type should be lambdef, not lambda. Use the grammar types.
|
2017-04-11 18:28:25 +02:00 |
|
Dave Halter
|
afa6427861
|
Fix the remaining lambda issue.
|
2017-04-11 18:18:31 +02:00 |
|
Dave Halter
|
5cd26615e8
|
Removed the name attribute from lambda. It doesn't exist so don't fake it.
|
2017-04-11 18:10:35 +02:00 |
|
Dave Halter
|
e675715357
|
Rename a few IfStmt methods.
|
2017-04-10 22:46:06 +02:00 |
|
Dave Halter
|
797953df39
|
More Flow cleanups.
|
2017-04-10 10:05:21 +02:00 |
|
Dave Halter
|
218e715553
|
Make the some names more concise in the parser tree.
|
2017-04-10 09:44:08 +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
|
ff82763e6b
|
get_annotation -> annotation (property).
|
2017-04-08 15:29:29 +02:00 |
|
Dave Halter
|
545cb26f78
|
stars -> star_count.
|
2017-04-08 15:26:57 +02:00 |
|
Dave Halter
|
1625834f81
|
Move get_comp_fors out of the parser.
|
2017-04-08 14:16:00 +02:00 |
|
Dave Halter
|
65a6c61dc6
|
Remove nodes_to_execute in favor of a function in parser_utils.
|
2017-04-08 12:59:49 +02:00 |
|
Dave Halter
|
d41e036427
|
Keyword-only arguments were not usable. Fixes #883 and #856.
|
2017-04-03 18:18:21 +02:00 |
|
Dave Halter
|
281d6a87a0
|
Remove a few print statements.
|
2017-04-01 12:43:57 +02:00 |
|
Dave Halter
|
1d0796ac07
|
Remove a usage of the old module path.
|
2017-03-28 01:43:40 +02:00 |
|
Dave Halter
|
6a9c2f8795
|
Start using ContextualizedNode for py__iter__.
|
2017-03-28 01:34:07 +02:00 |
|
Dave Halter
|
8a35a04439
|
Remove the module path from the parser tree.
Some static analysis tests are still failing.
|
2017-03-27 18:13:32 +02:00 |
|
Dave Halter
|
0f66a3c7a8
|
Remove the module attribute from the parser.
|
2017-03-18 03:53:34 +01:00 |
|
Dave Halter
|
8156a6b8a2
|
Remove used_names from the parser step. It's a separate iteration, now.
|
2017-03-16 21:28:42 +01:00 |
|
Dave Halter
|
fd50146f92
|
Simple cleanup.
|
2017-03-16 20:20:58 +01:00 |
|