1
0
forked from VimPlug/jedi
Commit Graph

99 Commits

Author SHA1 Message Date
Dave Halter d0f1fd5267 Rename Simple -> BaseNode. 2015-02-05 14:18:30 +01:00
Dave Halter 0c1bbf78e2 Rename SubModule to Module, because that's a more fitting description. There were reasons for the name before the new fast parser, but those don't exist anymore. 2015-02-05 14:16:43 +01:00
Dave Halter 4ace58e29e Make get_statement_for_position faster. 2015-02-05 13:35:43 +01:00
Dave Halter a77ecdbed6 Remove param from get_statement_for_position. 2015-02-05 12:28:55 +01:00
Dave Halter 109fdc53e0 Fix the remaining fast parser issues. 2015-02-05 01:13:00 +01:00
Dave Halter 3a4235eb33 The interpreter is not using the fast parser anymore. 2015-02-05 00:28:54 +01:00
Dave Halter a4bd412801 Fix an issue with the positions of InstanceNames that used the original position_modifier. 2015-02-02 02:29:39 +01:00
Dave Halter c58cdbbf9b Fix an issue that comes from a combination of property/__slots__/pickle 2015-02-02 00:45:17 +01:00
Dave Halter bc118e8047 Simplify the fast parser tokenizer more. Now it is more readable and less buggy (+bugfixes). 2015-01-31 20:09:44 +01:00
Dave Halter c7563470b1 We don't need set_global_names, just set the attribute directly. 2015-01-28 15:00:17 +01:00
Dave Halter d0589430bb FastModule should inherit from SubModule, because it has almost all the same properties. 2015-01-28 14:59:00 +01:00
Dave Halter 5e8f8f7a8d Fix issues with error correction / newline correction. 2015-01-27 12:24:54 +01:00
Dave Halter 88a3e25814 Fix newline stuff for empty parsers. 2015-01-27 01:15:39 +01:00
Dave Halter e5d265e845 Add a method Leaf.get_previous, to get previous leafs. 2015-01-26 21:02:56 +01:00
Dave Halter a8943b8a80 Get the position modifiers right. 2015-01-24 20:42:28 +01:00
Dave Halter 446f5b9018 Fix issues with the right count of parsers used. 2015-01-24 20:19:03 +01:00
Dave Halter ce793b1066 Trying to restructure the fast parser. 2015-01-19 14:49:44 +01:00
Dave Halter e477fab856 Playing with the fast parser implementation. 2015-01-16 15:23:49 +01:00
Dave Halter cc7483498c Start using the position modifier. 2015-01-15 14:18:22 +01:00
Dave Halter cf223a71f5 Add a position modifier for the fast parser. Not yet in use though. 2015-01-15 13:57:56 +01:00
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 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 5730e5add0 parser tree docstring updates. 2014-12-16 18:10:28 +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 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 2b7434342e Fix absolute imports. 2014-12-07 18:51:14 +01:00
Dave Halter b94a09f360 Fix end_pos of Literals and Whitespace leafs. 2014-12-07 14:28: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 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 5d82b11f59 First implementation to be ready to complete corrupt imports. Working ok. 2014-11-25 19:35:27 +01:00
Dave Halter db76bbccc5 Trying to change the symbols in node. They are now strings.
With this change we are finally able to get rid of parser/pytree.py
2014-11-24 01:52:41 +01:00
Dave Halter 1fbc4c9196 Change parser.representation to parser.tree. It's shorter and says more. 2014-11-23 19:35:46 +01:00