1.1 --- a/simplified.py Thu Aug 03 01:02:47 2006 +0200
1.2 +++ b/simplified.py Fri Aug 04 00:13:47 2006 +0200
1.3 @@ -144,6 +144,14 @@
1.4 if hasattr(self, "dstar") and self.dstar:
1.5 self.dstar.pprint(indent + 2, "( ")
1.6
1.7 + # Annotations.
1.8 +
1.9 + if hasattr(self, "accesses"):
1.10 + self._pprint(indent, "", "--------")
1.11 + for ref, attributes in self.accesses.items():
1.12 + self._pprint(indent + 2, "| ", "%s: %s" % (ref, attributes))
1.13 + self._pprint(indent, "", "--------")
1.14 +
1.15 class Module(Node): "A Python module."
1.16 class Subprogram(Node): "A subprogram: functions, methods and loops."
1.17 class Pass(Node): "A placeholder node corresponding to pass."