def __init__(self): CSVProcessor.__init__(self) self.rootNode = PythonASTTreeNode(None) self.parentStack = [] self.previousNode = self.rootNode self.defaultHandler = self.handleNode
def __init__(self, projectRoot): CSVProcessor.__init__(self) self.projectRoot = projectRoot if self.projectRoot[-1] != '/': self.projectRoot += '/' self.functionIndex = NameToListMap() self.callIndex = NameToListMap() self.declarationIndex = NameToListMap() self.conditionIndex = NameToListMap() self.handlers[FUNCTION_NAME] = self.functionHandler self.handlers[CALLEE] = self.callHandler
def __init__(self): CSVProcessor.__init__(self) self.currentCFG = None self.resetStacks() self.defaultHandler = self.handleNode self.functionLevel = -1