0(1) element: null
1(2) WRITE ACCESS: self
2(3) element: PyAssignmentStatement
3(4) WRITE ACCESS: self.foo
4(5) READ ACCESS: self
5(6) element: PyPrintStatement
6(7) READ ACCESS: self
7() element: null