Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/p/y/pystream-HEAD/bin/analysis/cfgIR/structuralanalysis.py   pystream(Download)
from . import cfg
 
from PADS.DFS import postorder
 
class BlockWrapper(object):
	def __getitem__(self, key):
		return key.iternext()
 
def cfgPostorder(root):
	return list(postorder(BlockWrapper(), root))

src/p/y/pystream-HEAD/bin/decompiler/structuralanalyzer.py   pystream(Download)
from util.typedispatch import *
 
from PADS.DFS import postorder
 
# HACK
	def process(self, root, trace=False):
		self.trace=trace
 
		# Visit the blocks in postorder.
		post = list(postorder(BlockWrapper(), root))