Exemplo n.º 1
0
def main(projectRoot):
   
    print('Creating Tracking Information for %s' %(projectRoot))
    
    codeTreeWalker = FunctionPythonASTIterator(projectRoot)
   
    for picklFilename in codeTreeWalker:
        # FIXME: we should not need to now about the output-name here
        location = picklFilename[:-(len('func_ast.pickl'))]
        print location
        processor = TrackingInformationGenerator()
        processor.reset(location)
        processor.process()
        processor.save()
 def __init__(self):
     self.trackingInfoGenerator = TrackingInformationGenerator()
     self.cachedTrackingInfos = {}