Esempio n. 1
0
def main(projectRoot):

    print('Creating Conditional Expression Trees for %s' % (projectRoot))

    codeTreeWalker = FunctionPythonASTIterator(projectRoot)

    for picklFilename in codeTreeWalker:
        location = picklFilename[:-(len('func_ast.pickl'))]
        print location
        processor = ConditionalExprTreeGenerator()
        processor.createTreeForLocation(location)
 def __init__(self):
     self.exprTreeGenerator = ConditionalExprTreeGenerator()
     self.exprTrees = {}