Added a grammar param to the parser.
This commit is contained in:
1 parent
c152a1c58b
commit
9f45f18ad1
14 files changed
+60
-44
No files matched your search
@@ -91,7 +91,8 @@ from jedi.evaluate.helpers import FakeStatement, deep_ast_copy, call_of_name
|
||||
|
||||
|
||||
class Evaluator(object):
|
||||
def __init__(self):
|
||||
def __init__(self, grammar):
|
||||
self._grammar = grammar
|
||||
self.memoize_cache = {} # for memoize decorators
|
||||
self.import_cache = {} # like `sys.modules`.
|
||||
self.compiled_cache = {} # see `compiled.create()`
|
||||
|
||||
Reference in new issue
Block a user