Пример #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):
     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
Пример #4
0
    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
Пример #5
0
 def __init__(self):
     CSVProcessor.__init__(self)
     self.currentCFG = None
     self.resetStacks() 
     self.defaultHandler = self.handleNode
     self.functionLevel = -1
Пример #6
0
 def __init__(self):
     CSVProcessor.__init__(self)
     self.currentCFG = None
     self.resetStacks()
     self.defaultHandler = self.handleNode
     self.functionLevel = -1