1
0
forked from VimPlug/jedi
Commit Graph

392 Commits

Author SHA1 Message Date
Dave Halter
ee51b0a62f More issues from the list of types to set of types conversion. 2015-10-30 10:32:17 +01:00
Kevin Kelley
8d8dcc2b6e Fix bug in branch condition causing lambdas to be treated like scopes and not like functions. 2015-10-24 23:33:53 +00:00
Dave Halter
265e6b2c35 Change parser and api to use tree instead of pr. 2015-04-27 23:38:48 +02:00
Dave Halter
d038fba9df er.wrap -> Evaluator.wrap 2015-04-23 13:51:42 +02:00
Dave Halter
8fca3f78a1 Add a py__name__ call to modules. This makes listing the qualified names of modules possible (in combination with the module_name_cache). Fixes #519. 2015-04-14 17:36:20 +02:00
Dave Halter
74779f1a5d Test and preparations for better call signatures with builtins, see #515. 2015-04-10 03:05:38 +02:00
Dave Halter
ef855a5316 Param descriptions should not end with a comma. 2015-03-31 14:38:03 +02:00
Dave Halter
8f58258f4d Writing a different Name.get_definition() implementation, returns the node, if there's no expr_stmt parent. 2015-03-05 15:17:08 +01:00
Dave Halter
a3c2108ecf Fix and test CallSignature.bracket_start. 2015-03-04 12:15:43 +01:00
Dave Halter
cdbe26786a Trying to get ird of the weird param generation in the parser tree. 2015-02-10 15:49:26 +01:00
Dave Halter
26ecb16e5f CompiledObject.type resembles now the Node.type values. 2015-01-09 01:33:59 +01:00
Dave Halter
ed7500bfaa Delete deprecations from 0.6.0 and 0.5.0. 2015-01-08 18:22:38 +01:00
Dave Halter
8ec8a74a3f Removed base in completions 2015-01-08 18:02:55 +01:00
Dave Halter
705b569e32 Get rid of all get_names_of_scope calls. 2015-01-08 12:48:57 +01:00
Dave Halter
b2e54ca1eb The tokenizer now includes all newlines and comments in its prefix. 2014-12-17 20:11:42 +01:00
Dave Halter
576a1182af Remove legacy code from param. However, this there's still work needed on params. 2014-12-16 17:37:20 +01:00
Dave Halter
869b0b4189 Cleaning up api classes. 2014-12-16 17:23:59 +01:00
Dave Halter
237f0e526c Cleaning up evaluate.helpers. 2014-12-16 17:19:14 +01:00
Dave Halter
af303e10c8 Statement -> ExprStmt. 2014-12-15 16:18:09 +01:00
Dave Halter
6afc5ccca5 Few docstring fixes. 2014-12-11 15:32:45 +01:00
Dave Halter
243fb8ef34 Small import fix. 2014-12-11 00:14:03 +01:00
Dave Halter
936a3c9dfe Small cleanup: Removed a few print statements. 2014-12-08 16:03:23 +01:00
Dave Halter
7cc2a07cd3 Small full_name improvements. 2014-12-08 12:38:59 +01:00
Dave Halter
8868b87d42 Make imports stuff in API classes work. Now goto on imports follows even aliases. 2014-12-08 12:04:09 +01:00
Dave Halter
0ad6aeba6b Fix some API classes issues. Among them call signature generation and Definition.parent() issues. 2014-12-08 02:32:43 +01:00
Dave Halter
0f01242954 named param goto. 2014-12-08 01:52:32 +01:00
Dave Halter
0c77e9960a NotFoundError doesn't really exist anymore. We're deprecating it, so change the corresponding tests. 2014-12-08 00:48:06 +01:00
Dave Halter
b24bf29fc2 Fixed named argument call signature stuff and issues with classes and call signature params. 2014-12-07 23:55:44 +01:00
Dave Halter
24903739f2 A first implementation of call signatures. 2014-12-05 16:05:54 +01:00
Dave Halter
c152a1c58b Actually replace tree with representation (in all the imports). 2014-11-23 19:46:52 +01:00
Dave Halter
22fbcf6c77 More goto improvements. 2014-11-21 15:45:17 +01:00
Dave Halter
eb0bfb4381 get_code in Definition.description should not return first prefix. 2014-11-21 15:33:38 +01:00
Dave Halter
116e9e72fc is_definition/Import issue 2014-10-02 11:27:01 +02:00
Dave Halter
7fea6437d9 Fix issues with Definition.full_name 2014-09-26 13:07:21 +02:00
Dave Halter
dae1a48d70 Remove a lot of the old Name.names usages in favor of a direct NamePart usage. 2014-09-22 22:34:33 +02:00
Dave Halter
085c8034b3 Apply evaluate.representation wrappers already before they go out into the goto world. 2014-09-11 02:20:54 +02:00
Dave Halter
1624fa0872 Replace BaseDefinition._name.get_definition() calls with BaseDefinition._definition. 2014-09-11 01:36:21 +02:00
Dave Halter
71efb51f2a Remove BaseDefinition._start_pos. 2014-09-11 01:21:08 +02:00
Dave Halter
283afa78f1 Remove code that is not needed anymore, because the Definition/Completion import is now standardized (to NamePart). 2014-09-11 01:15:00 +02:00
Dave Halter
9f16555f47 Big refactoring: BaseDefinition._definnition changes to BaseDefinition._name, because it's a NamePart now.
This also includes changes to tests and some simplifications like deleting the old name logic of Definition.
2014-09-11 01:03:30 +02:00
Dave Halter
58526e2302 Completion now also uses only NameParts as its _definition attribute. 2014-09-10 20:12:19 +02:00
Dave Halter
1fb9b4bc6b Completion now always takes a NamePart as input. 2014-09-10 18:59:08 +02:00
Dave Halter
0eea30f227 NamePart migration of Definition is complete. Now Completion. 2014-09-10 18:29:10 +02:00
Dave Halter
46b49af5d9 Even params should be NameParts as a Definition input. 2014-09-10 17:41:06 +02:00
Dave Halter
4060c4dc55 Fix some goto issues. 2014-09-10 16:39:09 +02:00
Dave Halter
b68a59daef Fix the last remaining issues of the first part of the NamePart switch. 2014-09-09 15:58:20 +02:00
Dave Halter
45e033c50e Quite a few fixes to be eventually able to use NameParts as Definition inputs. 2014-09-09 15:21:27 +02:00
Dave Halter
1199defabb Start to use NameParts only in Definition contexts. 2014-09-09 14:13:10 +02:00
Dave Halter
0dcb91d236 Add a Definition.is_definition function to be able to check if a name is a definition or not. 2014-09-08 23:44:35 +02:00
Dave Halter
ece9fdf4ae Fixing most of the issues that existed, because of the recent Name.get_definition/Call.name.parent change. 2014-09-06 13:02:52 +02:00