def __init__(self): CSVProcessor.__init__(self) self.rootNode = PythonASTTreeNode(None) self.parentStack = [] self.previousNode = self.rootNode self.defaultHandler = self.handleNode
def __init__(self): CSVProcessor.__init__(self) self.functionIndex = NameToListMap() self.callIndex = NameToListMap() self.declarationIndex = NameToListMap() self.conditionIndex = NameToListMap() # self.typeIndex = dict() self.handlers['func'] = self.functionHandler self.handlers['call'] = self.callHandler self.handlers['decl'] = self.declHandler self.handlers['cond'] = self.condHandler
def __init__(self): CSVProcessor.__init__(self) self.currentCFG = None self.resetStacks() self.defaultHandler = self.handleNode self.functionLevel = -1