1
0
forked from VimPlug/jedi

Preparing for an eventual replacement of using expr_stmt for all nodes.

This commit is contained in:
Dave Halter
2015-03-05 00:07:50 +01:00
parent aea38ca9aa
commit f273e314b6
3 changed files with 14 additions and 10 deletions

View File

@@ -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:]: