Beispiel #1
0
	def __init__(self, line):
		self.log = Logger().get_instance(self)
		self.cols = line.split(";")
		self.dst_class = self.cols[0]
		self.dst_name = self.cols[1]
		self.src_class = self.cols[3]
		self.src_name = self.cols[4]
		self.acc_type = self.cols[5]
		self.sourceFile = self.cols[8]
		self.lineNr = utils.removeUpfrontZeroes(self.cols[7])
		self.src_param = utils.cleanCol(self.cols[10].strip()).split(",")
		self.package = ""
		self.srcSourceLocation = SourceLocation("","0","0")
		self.dstSourceLocation = SourceLocation("","0","0")
Beispiel #2
0
 def __init__(self, line):
     self.log = Logger().get_instance(self)
     self.cols = line.split(";")
     self.dst_class = self.cols[0]
     self.dst_name = self.cols[1]
     self.src_class = self.cols[3]
     self.src_name = self.cols[4]
     self.acc_type = self.cols[5]
     self.sourceFile = self.cols[8]
     self.lineNr = utils.removeUpfrontZeroes(self.cols[7])
     self.src_param = utils.cleanCol(self.cols[10].strip()).split(",")
     self.package = ""
     self.srcSourceLocation = SourceLocation("", "0", "0")
     self.dstSourceLocation = SourceLocation("", "0", "0")
Beispiel #3
0
	def __init__(self, line):
		Entity.__init__(self, line)	# entity will initalize self.line and self.cols
		self.log = Logger().get_instance(self)
		self.cols = line.split(";")
		self.dst_class = self.cols[0]
		self.dst_name = self.cols[1]
		self.src_class = self.cols[3]
		self.src_name = self.cols[4]
		self.sourceFile = self.cols[8]
		self.lineNr = utils.removeUpfrontZeroes(self.cols[7])
		self.visibility = "public"
		self.src_param = utils.cleanCol(self.cols[10].strip()).split(",")
		self.dst_param = utils.cleanCol(self.cols[9]).split(",")
		# to be resolved later
		self.package = ""
		self.dst_package = ""
		self.srcLoc = ""
		self.srcLineNr = "0"
		self.dstLoc = ""
		self.dstLineNr = "0"
Beispiel #4
0
 def __init__(self, line):
     Entity.__init__(self,
                     line)  # entity will initalize self.line and self.cols
     self.log = Logger().get_instance(self)
     self.cols = line.split(";")
     self.dst_class = self.cols[0]
     self.dst_name = self.cols[1]
     self.src_class = self.cols[3]
     self.src_name = self.cols[4]
     self.sourceFile = self.cols[8]
     self.lineNr = utils.removeUpfrontZeroes(self.cols[7])
     self.visibility = "public"
     self.src_param = utils.cleanCol(self.cols[10].strip()).split(",")
     self.dst_param = utils.cleanCol(self.cols[9]).split(",")
     # to be resolved later
     self.package = ""
     self.dst_package = ""
     self.srcLoc = ""
     self.srcLineNr = "0"
     self.dstLoc = ""
     self.dstLineNr = "0"