daviis / PyDucker

A static ducking tool for python 3 source code
2 stars 2 forks source link

Parse classes, functions, and globals from walker #9

Closed daviis closed 10 years ago

daviis commented 10 years ago

Here is the first walker stuff that I made. Check it out and add it to master.

Isaac

JakeAlbee commented 10 years ago

Idea: we create a class to hold all this at each level of scope, a levelBean if you will.

It could hold all the beans at that level and each levelBean would hold a reference to a levelBean one step up and then that up leveled bean would reference another one etc. This would allow us to recursively check through them by following the references up the tree.

JakeAlbee commented 10 years ago

Looks sound to me, I don't see any issues. Looks good to be merged