示例#1
0
def main(projectRoot):
   
    print('Creating index for %s' %(projectRoot))
    
    codeTreeWalker = FunctionASTIterator(projectRoot)
    processor = CodeIndexCreator(projectRoot)
   
    for csvFilename in codeTreeWalker:
        processor.processCSVRows(csvFilename)
    processor.saveResults()
示例#2
0
def main(projectRoot):
   
    print('Creating index for %s' %(projectRoot))
    
    codeTreeWalker = CodeTreeWalker(projectRoot)
    codeTreeWalker.setFilenameFilterRegex('ast\.(csv)$')
    processor = CodeIndexCreator()
   
    for csvFilename in codeTreeWalker:
        processor.processCSVRows(csvFilename)
    processor.saveResults(projectRoot)
示例#3
0
def main(projectRoot):

    print('Creating index for %s' % (projectRoot))

    codeTreeWalker = FunctionASTIterator(projectRoot)
    processor = CodeIndexCreator(projectRoot)

    for csvFilename in codeTreeWalker:
        processor.processCSVRows(csvFilename)
    processor.saveResults()
示例#4
0
def main(projectRoot):

    print('Creating index for %s' % (projectRoot))

    codeTreeWalker = CodeTreeWalker(projectRoot)
    codeTreeWalker.setFilenameFilterRegex('ast\.(csv)$')
    processor = CodeIndexCreator()

    for csvFilename in codeTreeWalker:
        processor.processCSVRows(csvFilename)
    processor.saveResults(projectRoot)