1
0
forked from VimPlug/jedi
Commit Graph

454 Commits

Author SHA1 Message Date
Dave Halter 5334f8dbad Implemented the in operator in a very simple fashion: It returns nothing. 2015-01-09 16:05:09 +01:00
Dave Halter d78a89df51 Move filter_after_position. 2015-01-09 01:37:42 +01:00
Dave Halter 6d58fed0e8 Remove get_defined_names in favor of names_dict in the parser tree. 2015-01-08 13:38:03 +01:00
Dave Halter a20fd12de9 Remove all scope_names_generator usages. 2015-01-08 13:24:01 +01:00
Dave Halter 83a94c12c9 Correct global name issues. 2015-01-08 01:20:53 +01:00
Dave Halter f5e687bc22 Use names_dicts now for all completions. 2015-01-07 23:49:13 +01:00
Dave Halter 494a3e3307 Fix usages. 2015-01-06 16:54:01 +01:00
Dave Halter 9de4a5479c Start using names_dicts instead of scope_names_generator. 2015-01-01 23:27:03 +01:00
Dave Halter 47615ae786 Remove pr.Array.type identifiers. 2014-12-19 01:05:52 +01:00
Dave Halter 98eb4a71a1 Clean up the parser tree. 2014-12-18 03:38:24 +01:00
Dave Halter f8cd3c661a Fix slots in the parser tree. 2014-12-17 20:36:17 +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 9cdf6de206 More positioning for backwards tokenizer. 2014-12-17 17:51:12 +01:00
Dave Halter d918f8be73 Give the backwards tokenizer a better structure and comments. 2014-12-17 17:30:00 +01:00
Dave Halter f164dd8892 Fix some newline issues in the backwards tokenizer. 2014-12-17 14:56:46 +01:00
Dave Halter 6eb2af301d Simplifying reversed line generation of user_context. 2014-12-17 14:04:54 +01:00
Dave Halter 5730e5add0 parser tree docstring updates. 2014-12-16 18:10:28 +01:00
Dave Halter e53e211325 Python 2 compatibility in fake module. 2014-12-16 02:07:20 +01:00
Dave Halter d5e3a09c44 Python 2 compatibility with the new tokens. 2014-12-16 02:03:05 +01:00
Dave Halter fd1cb86765 Now able to remove both tokenize and token from pgen2. 2014-12-16 02:00:33 +01:00
Dave Halter d9d3740c92 Trying to replace the old pgen2 token module with a token module more tightly coupled to the standard library. 2014-12-16 01:52:15 +01:00
Dave Halter eaace104dd Replace the tokenizer's output with a tuple (switching back from a Token class). 2014-12-16 00:10:07 +01:00
Dave Halter 680fdd574b Remove some old unused tokenize stuff. 2014-12-15 17:44:40 +01:00
Dave Halter 955f125c0d Trying to remove token from pgen2. 2014-12-15 17:36:15 +01:00
Dave Halter 491b4ad76d Pgen2 license amendments. 2014-12-15 17:29:32 +01:00
Dave Halter b911a39fb4 The driver file is now empty. 2014-12-15 17:27:27 +01:00
Dave Halter 55a6dbc8a2 Remove the old driver code of pgen2. 2014-12-15 17:18:01 +01:00
Dave Halter 4e0172a915 Partial parser.__init__' cleanup. 2014-12-15 16:21:35 +01:00
Dave Halter af303e10c8 Statement -> ExprStmt. 2014-12-15 16:18:09 +01:00
Dave Halter 8eaa008b5f Fix try/except checks in static analysis. 2014-12-12 02:26:16 +01:00
Dave Halter 77fdbac234 static analysis: Import tests working again. 2014-12-11 16:25:18 +01:00
Dave Halter 6818d3affa Implement Import.is_nested method. 2014-12-11 16:17:07 +01:00
Dave Halter 6afc5ccca5 Few docstring fixes. 2014-12-11 15:32:45 +01:00
Dave Halter 936a3c9dfe Small cleanup: Removed a few print statements. 2014-12-08 16:03:23 +01:00
Dave Halter 01b9361b33 Reenable keyword completion. 2014-12-08 15:14:27 +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 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 bb747a83e8 Small fix with big impact for the previously done simple_stmt error recovery. Now it actually works. 2014-12-07 19:45:19 +01:00
Dave Halter 2b7434342e Fix absolute imports. 2014-12-07 18:51:14 +01:00
Dave Halter db636c35ae Error recovery should not delete parts of simple_stmt. 2014-12-07 18:04:55 +01:00
Dave Halter b94a09f360 Fix end_pos of Literals and Whitespace leafs. 2014-12-07 14:28:40 +01:00
Dave Halter e1e5c3a6c7 Progress with call signatures. 2014-12-07 13:56:40 +01:00
Dave Halter b2267d3878 Fix usages. 2014-12-03 16:34:31 +01:00
Dave Halter b9e7a2eb95 Fix assert issues in combination with comprehensions. 2014-12-02 17:55:42 +01:00
Dave Halter 5f89ceb385 Add the type attribute to all classes in the tree. Because nodes have them as well. 2014-12-02 17:50:55 +01:00
Dave Halter 425741e285 Fix assertion/isinstance type information. 2014-12-02 17:45:19 +01:00
Dave Halter 3cc4da28ed Fix lambda_nocond. 2014-12-01 11:56:28 +01:00
Dave Halter bcd998ae02 Lambdas are own namespaces and deserve their own used_names dictionary in the parser. 2014-12-01 11:49:52 +01:00
Dave Halter 88853c78f4 Get lambdas mostly working. 2014-12-01 02:47:48 +01:00
Dave Halter 68bd9160e2 Fixed list comprehension name lookups. 2014-12-01 00:08:27 +01:00