1
0
forked from VimPlug/jedi

Starting to create a way of how context sensitive completions can be made.

This involves playing heavily with the parser pgen2. We use its stack to check for all possible tokens/keywords.
This commit is contained in:
Dave Halter
2016-05-23 18:11:44 +02:00
parent 36a135c347
commit d4a10929e2
8 changed files with 264 additions and 59 deletions

View File

@@ -451,7 +451,7 @@ class FastTokenizer(object):
"""
def __init__(self, source):
self.source = source
self._gen = source_tokens(source)
self._gen = source_tokens(source, use_exact_op_types=True)
self._closed = False
# fast parser options