示例#1
0
    def __init__(self):
        CSVProcessor.__init__(self)

        self.rootNode = PythonASTTreeNode(None)
        self.parentStack = []
        self.previousNode = self.rootNode

        self.defaultHandler = self.handleNode
示例#2
0
 def __init__(self):
     CSVProcessor.__init__(self)
     
     self.rootNode = PythonASTTreeNode(None)
     self.parentStack = []
     self.previousNode = self.rootNode
     
     self.defaultHandler = self.handleNode
示例#3
0
 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
示例#4
0
 def __init__(self):
     CSVProcessor.__init__(self)
     self.currentCFG = None
     self.resetStacks() 
     self.defaultHandler = self.handleNode
     self.functionLevel = -1