2010-08-15 | Paul Boddie | raw files shortlog changelog graph | Added the type pop-up element to AssAttr nodes. | |
micropython/report.py (file) |
1.1 --- a/micropython/report.py Sun Aug 15 21:49:47 2010 +0200 1.2 +++ b/micropython/report.py Sun Aug 15 23:37:53 2010 +0200 1.3 @@ -741,8 +741,11 @@ 1.4 self._span_end() 1.5 1.6 def visitAssAttr(self, node): 1.7 + target_names = self.possible_accessor_types(node) 1.8 self._span_start("assattr") 1.9 + self._accessor_start(target_names) 1.10 self.dispatch(node.expr) 1.11 + self._accessor_end(target_names) 1.12 self._span_start("attr") 1.13 self.stream.write(".") 1.14 self._name(node.attrname)