handle qualified refs in control flow builder

This commit is contained in:
Dmitry Jemerov
2010-04-28 20:53:39 +04:00
parent 5e469adbb2
commit fd46373bb2
7 changed files with 53 additions and 8 deletions
@@ -0,0 +1,5 @@
class A:
def __init__(self):
self.foo = 1
print self.foo
@@ -0,0 +1,8 @@
0(1) element: null
1(2) WRITE ACCESS: self
2(3) element: PyAssignmentStatement
3(4) WRITE ACCESS: foo
4(5) element: PyPrintStatement
5(6) READ ACCESS: self
6(7) READ ACCESS: foo
7() element: null
@@ -1,4 +1,4 @@
while condition
while condition:
print("Alloha!")
else:
print("Bye")