[DEV] add write of class
This commit is contained in:
parent
f069299a53
commit
77358efa48
@ -130,7 +130,9 @@ class HeritageList:
|
||||
append_to_list(self.src['src'], element.src['src'])
|
||||
append_to_list(self.src['dynamic'], element.src['dynamic'])
|
||||
append_to_list(self.src['static'], element.src['static'])
|
||||
|
||||
|
||||
def __repr__(self):
|
||||
return "{HeritageList:" + str(self.list_heritage) + "}"
|
||||
|
||||
class heritage:
|
||||
def __init__(self, module, target):
|
||||
@ -224,5 +226,8 @@ class heritage:
|
||||
if self.flags["c++-version"] > ver:
|
||||
ver = self.flags["c++-version"]
|
||||
self.flags["c++-version"] = ver
|
||||
|
||||
def __repr__(self):
|
||||
return "{Heritage:" + str(self.name) + " ... }"
|
||||
|
||||
|
||||
|
@ -124,6 +124,9 @@ class Module:
|
||||
}
|
||||
self.sub_heritage_list = None
|
||||
|
||||
def __repr__(self):
|
||||
return "{lutin.Module:" + str(self.name) + "}"
|
||||
|
||||
def get_type(self):
|
||||
return self.type
|
||||
##
|
||||
|
@ -47,6 +47,8 @@ class System:
|
||||
else:
|
||||
self.action_on_state[name_of_state].append([level, name, action])
|
||||
|
||||
def __repr__(self):
|
||||
return "{lutin.System}"
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user