1
0
forked from VimPlug/jedi
Commit Graph

84 Commits

Author SHA1 Message Date
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
abe6c8934c Update the parser pickling protocol version. 2015-02-05 14:19:22 +01:00
Dave Halter
cc7483498c Start using the position modifier. 2015-01-15 14:18:22 +01:00
Dave Halter
ed3cf5577e Compiled objects should also have a names_dict. 2014-12-26 12:49:40 +01:00
Dave Halter
f2d35c3ff1 Reenable star import caching. 2014-12-15 15:19:22 +01:00
Dave Halter
24903739f2 A first implementation of call signatures. 2014-12-05 16:05:54 +01:00
Dave Halter
f43c371467 Merge @joel-wright's whitespace tokenizer branch. Thanks! 2014-11-26 15:56:11 +01:00
Dave Halter
71c3d34965 Increase ParserPickling.version. 2014-10-29 01:46:54 +01:00
Dave Halter
66840a742c Implement the new parser in jedi.parser.Parser 2014-10-10 00:06:28 +02:00
Dave Halter
e9a3a44780 Remove some other _star_import_cache stuff, and with this, #489 should be fixed. 2014-10-06 17:55:28 +02:00
Dave Halter
3638d5149d Change time_cache, to also host the star_import_cache. 2014-10-06 17:37:34 +02:00
Dave Halter
bbdb4703ec change cache_call_signatures, so that it has a well defined input. 2014-10-06 16:07:33 +02:00
Dave Halter
87574e9d2e star_import_cache refactorings: Make it more readable. 2014-10-04 12:43:08 +02:00
Dave Halter
a1b55a9df7 clear_caches -> clear_time_caches 2014-10-03 14:23:46 +02:00
Dave Halter
03e01631cc Remove NamePart from existance and rename it to Name. 2014-09-26 16:29:53 +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
5a3ee02399 Use ExprStmt pretty much everywhere where it should be used.
ExprStmt is now really a normal statement. All the other statements are from now on considered legacy code. As a side effect this increases the parser pickling version.
2014-09-06 11:13:58 +02:00
Dave Halter
8006d6f190 Change implementation of StatementElement.
Instead of having both next and execution as attributes, we now only have next, because it's an execution if there's an array.
2014-08-18 22:25:55 +02:00
Dave Halter
c44168f7ad add a Flow.previous attribute to be able to access the if flow from an else clause. 2014-08-05 11:17:18 +02:00
Joel Wright
07d0a43f7e Add preceding whitespace collection to tokenizer 2014-07-30 11:59:20 +01:00
Dave Halter
852cdad754 Operator fixes. Subclass of Simple, now. 2014-07-22 16:02:34 +02:00
Dave Halter
ee1c5041ed use the new implementation of splitlines all over the code, fixes #424 2014-07-18 16:59:22 +02:00
Dave Halter
0b926ca454 get rid of is_list_comp boolean in favor of a direct check of ListComprehensionFlow 2014-06-09 20:19:31 +02:00
Dave Halter
dd50001ed1 update pickling version, because we have changed some things about the KeywordStatement a while ago 2014-05-19 13:49:52 +02:00
Dave Halter
6bec7ce847 speed up Builtin lookups 2014-04-25 14:12:28 +02:00
Dave Halter
f0e7b5583d update parser pickling version again, because we've changed a lot in the last few commits 2014-04-18 14:41:29 +02:00
Dave Halter
d8d6b20a17 fix line split issues in cache 2014-04-09 13:16:28 +02:00
Dave Halter
46277eb9c9 call_signatures caching should be much more precise, now. fixes #390 2014-04-09 12:27:23 +02:00
Dave Halter
162d794081 underscore_decorators now automatically convert generators to lists 2014-01-23 15:21:52 +01:00
Dave Halter
b30a186f8f remove user_stmt and user_scope stuff - yes! 2014-01-17 02:34:09 +01:00
Dave Halter
059b1e1353 underscore_memoization is now even easier in fast parser 2014-01-15 15:57:43 +01:00
Dave Halter
d71cdded6e some easier memoization for fast parser 2014-01-15 15:48:16 +01:00
Dave Halter
b2507ad94a increase the pickling version. 2014-01-13 23:00:01 +01:00
Dave Halter
682e1c2708 debug.dbg and debug.warning now take a string and format args parameters to make debugging a little bit cleaner 2014-01-13 16:16:07 +01:00
Dave Halter
1a3541e3aa removed from 'from __future__ import with_statement' imports, they are not needed anymore (python 2.5 is no longer supported) 2014-01-07 17:46:22 +01:00
Dave Halter
471cf742dc add an cache.underscore_memoization decorator to make some recurring patterns easier to read 2014-01-05 10:37:28 +01:00
Dave Halter
4fdfbcd7e4 make the invalidate_star_import stuff easier 2014-01-05 10:18:04 +01:00
Dave Halter
29e661ea74 remove a lot of modules crap and replace it with a simple method called load_module 2014-01-04 14:35:11 +01:00
Dave Halter
4af92b166a use expression_list instead of commands or call_list 2013-12-27 14:24:14 +01:00
Dave Halter
c290afbb1a increase pickling version and change mixin path for builtins 2013-12-27 01:34:23 +01:00
Dave Halter
dd7d7ceb7e make some parser caches private 2013-12-26 12:20:29 +01:00
Dave Halter
4cf5d56b64 fix more issues and renamings 2013-12-25 03:24:12 +01:00
Dave Halter
ab2c6bf45d integrate memoize caches into evaluator 2013-12-24 18:46:51 +01:00
Dave Halter
066056fb2b memoize_default should always take a first argument 2013-12-24 18:06:15 +01:00
Jean-Louis Fuchs
099a6c2697 * added token.py 2013-12-05 23:59:48 +01:00
Jean-Louis Fuchs
989e12e8a7 * Replaced token tuple with token class
* Fixed PEP8 where I read code
2013-12-05 23:34:20 +01:00
Steven Silvester
9cac894273 Disabling gc while loading pickles for a 20% speed boost on larger libs 2013-10-06 06:26:36 -05:00
David Halter
c3ba7d2ae8 remove except only clauses 2013-09-06 00:02:32 +04:30
David Halter
ad16f34cda generate set_vars now 2013-09-02 16:02:18 +04:30
David Halter
2e8432de21 don't use function_definition as a name anymore, also not in helper functions 2013-08-21 13:38:13 +04:30