Commit Graph

4551 Commits

Author SHA1 Message Date
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 62609cb6f1 Resolve tox issues. 2014-12-17 14:01:00 +01:00
Dave Halter c6315e0b45 todo updates. 2014-12-17 01:48:32 +01:00
Dave Halter 0147a7f68d usages cleanup 2014-12-17 01:44:06 +01:00
Dave Halter 4897791901 Remove old precedence stuff. 2014-12-16 18:28:45 +01:00
Dave Halter 7f95a9806a api cleanup. 2014-12-16 18:13:49 +01:00
Dave Halter 5730e5add0 parser tree docstring updates. 2014-12-16 18:10:28 +01:00
Dave Halter f702a91813 iterable cleanup. 2014-12-16 17:45:01 +01:00
Dave Halter 580dcb06ff Clean up the dynamic module. 2014-12-16 17:39:50 +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 3d080afd71 Cleanup finder. 2014-12-16 17:31:28 +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 6821ccba91 Add the pgen2 packages and grammar files to be able to deploy Jedi. 2014-12-16 15:23:49 +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 9431d89797 Imports cleanup. 2014-12-15 16:07:43 +01:00
Dave Halter 4af51a9516 Removing legacy code from evaluate/representation. 2014-12-15 16:02:19 +01:00
Dave Halter b03330c5d7 Updating the docs of evaluate/__init__. 2014-12-15 16:00:16 +01:00
Dave Halter 5f892d62a6 Delete legacy code from evaluate. 2014-12-15 15:34:15 +01:00
Dave Halter f2d35c3ff1 Reenable star import caching. 2014-12-15 15:19:22 +01:00
Dave Halter 24cfa62c8a documentation 2014-12-15 15:10:44 +01:00
Dave Halter f0c6e5709c Some temporary args/kwargs related changes to static analysis. 2014-12-15 14:58:16 +01:00
Dave Halter 4a8bbd9583 Restructure dynamic param search, so that it can be cached better. 2014-12-15 13:39:53 +01:00
Dave Halter 70e80a5d1c star argument bug fixes. 2014-12-13 08:37:20 +01:00
Dave Halter 7d9f85c762 invalid star star arguments. 2014-12-13 08:34:03 +01:00
Dave Halter ddd4d675f6 star args improvements 2014-12-13 08:17:38 +01:00
Dave Halter 1b48f6fbce Fix static analysis' argument tests. 2014-12-13 07:33:03 +01:00
Dave Halter a4c454c103 Fix for unwanted NameError exception in static analysis with named params. 2014-12-12 14:52:34 +01:00
Dave Halter a762e0bcec Fix a potential issue with star args. 2014-12-12 14:30:42 +01:00
Dave Halter e8cc8f0a83 Get hasattr checks completely working 2014-12-12 02:34:25 +01:00
Dave Halter 8eaa008b5f Fix try/except checks in static analysis. 2014-12-12 02:26:16 +01:00
Dave Halter c3106c10ef Fix flow's AttributeError detection. 2014-12-11 19:26:49 +01:00
Dave Halter d11ea73ef4 Re-enable AttributeError/NameError detection for more complicated occurances than just statements. 2014-12-11 19:18:00 +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