rename layout to type
this one goes to caleb for pointing it out. Much better word
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
class Class < Object
|
||||
field List instance_methods
|
||||
field Layout object_layout
|
||||
field Type object_type
|
||||
field Word name
|
||||
field Word super_class_name
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
class Object
|
||||
|
||||
Layout get_layout()
|
||||
return self.layout
|
||||
Type get_type()
|
||||
return self.type
|
||||
end
|
||||
|
||||
Class get_class()
|
||||
Layout l = self.layout
|
||||
Type l = self.type
|
||||
return l.object_class
|
||||
end
|
||||
|
||||
Word get_class_name()
|
||||
Layout l = self.layout
|
||||
Type l = self.type
|
||||
Class c = l.object_class
|
||||
return c.name
|
||||
end
|
||||
|
@ -1,4 +1,4 @@
|
||||
class Layout < Object
|
||||
class Type < Object
|
||||
field Class object_class
|
||||
field List instance_methods
|
||||
field Integer indexed_length
|
Reference in New Issue
Block a user