forked from VimPlug/jedi
Preparing for an eventual replacement of using expr_stmt for all nodes.
This commit is contained in:
@@ -159,6 +159,8 @@ class Evaluator(object):
|
||||
return [er.LambdaWrapper(self, element)]
|
||||
elif element.isinstance(er.LambdaWrapper):
|
||||
return [element] # TODO this is no real evaluation.
|
||||
elif element.type == 'expr_stmt':
|
||||
return self.eval_statement(element)
|
||||
elif element.type == 'power':
|
||||
types = self._eval_atom(element.children[0])
|
||||
for trailer in element.children[1:]:
|
||||
|
||||
Reference in New Issue
Block a user