1
0
forked from VimPlug/jedi
Commit Graph

28 Commits

Author SHA1 Message Date
Dave Halter 26cce4d078 Add the grammar as an argument to saving the parser.
This makes collisions of different grammars when loading from the cache impossible.
2017-03-22 18:32:49 +01:00
Dave Halter c41bee4253 Trying to ideas to reshape the diff parser APIs. 2017-03-22 09:38:06 +01:00
Dave Halter 3a2811fbe8 Move the diff parser. 2017-03-21 22:03:58 +01:00
Dave Halter c6811675b6 Rename ast_mapping to node_map. 2017-03-20 08:55:18 +01:00
Dave Halter 2d7fd30111 Remove _remove_last_newline from the parser. 2017-03-20 08:49:30 +01:00
Dave Halter 9dedb9ff68 Don't start parsing in our own API. 2017-03-20 08:44:52 +01:00
Dave Halter 689af9fc4e Remove tokens initialization parameter from the parser api. 2017-03-20 08:34:07 +01:00
Dave Halter 42e8861798 Simplify the parse method. 2017-03-19 22:15:01 +01:00
Dave Halter b4af42ddb3 Some minor parser changes to get ready for bigger stuff. 2017-03-19 21:30:41 +01:00
Dave Halter 3163f4d821 Trying to start moving more stuff to the BaseParser. 2017-03-19 21:06:51 +01:00
Dave Halter dad40597c5 Start moving stuff to the parser. 2017-03-18 15:01:34 +01:00
Dave Halter 52d855118a Remove get_parsed_node from the parser as well. 2017-03-18 03:55:23 +01:00
Dave Halter 0f66a3c7a8 Remove the module attribute from the parser. 2017-03-18 03:53:34 +01:00
Dave Halter d0b6d41e99 Remove the old star import cache, because it's not even used. 2017-03-18 03:30:23 +01:00
Dave Halter aaf6c61e69 Make remove_last_newline private. 2017-03-18 03:07:01 +01:00
Dave Halter 8156a6b8a2 Remove used_names from the parser step. It's a separate iteration, now. 2017-03-16 21:28:42 +01:00
Dave Halter fd50146f92 Simple cleanup. 2017-03-16 20:20:58 +01:00
Dave Halter 96c67cee26 Simplify the leaf with newlines stuff. 2017-03-16 20:18:30 +01:00
Dave Halter 4573ab19f4 Separate the python syntax tree stuff from the non python stuff. 2017-03-16 19:54:08 +01:00
Dave Halter 448bfd0992 Move the python parser tree. 2017-03-16 17:20:32 +01:00
Dave Halter b136800cfc Don't use as in imports when not needed. 2017-03-16 08:45:12 +01:00
Dave Halter 06702d2a40 Move the python parser. 2017-03-16 08:40:19 +01:00
Dave Halter 93f14157a6 Cleanup the ParseError stuff. 2017-03-15 18:41:58 +01:00
Dave Halter 68a7365a0a A few docstring improvements. 2017-03-14 21:03:03 +01:00
Dave Halter 717bfeb574 Remove an occurance of the complicated parser creation. 2017-03-14 19:27:03 +01:00
Dave Halter 97fc3bc23c Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something. 2017-03-14 00:38:58 +01:00
Dave Halter 9b5e6d16da Improved grammar loading API. 2017-03-13 20:33:29 +01:00
Dave Halter 595ffc24d4 Move some more stuff to a python directory in the parser. 2017-03-13 00:54:39 +01:00