make object derivation explicit
in parfait
This commit is contained in:
parent
81e3a98af8
commit
aaf6da8808
@ -1,5 +1,5 @@
|
||||
|
||||
class Array < BaseObject
|
||||
class Array < Object
|
||||
#many basic array functions can not be defined in ruby, such as
|
||||
# get/set/length/add/delete
|
||||
# so they must be defined as CompiledMethods in Builtin::Kernel
|
||||
|
@ -13,6 +13,6 @@
|
||||
# In fact this property is implemented in the Object, as methods
|
||||
# may be added to any object at run-time
|
||||
|
||||
class Class
|
||||
class Class < Object
|
||||
|
||||
end
|
||||
|
@ -4,6 +4,6 @@
|
||||
|
||||
# It allows for access to those variables basically
|
||||
|
||||
class Frame
|
||||
class Frame < Object
|
||||
|
||||
end
|
||||
|
@ -1,6 +1,6 @@
|
||||
# almost simplest hash imaginable. make good use of arrays
|
||||
|
||||
class Hash
|
||||
class Hash < Object
|
||||
def initialize
|
||||
@keys = Array.new()
|
||||
@values = Array.new()
|
||||
|
@ -2,7 +2,7 @@
|
||||
# A message is what is sent when you invoke a method. Args and stuff are packed up in to a Message
|
||||
# and the Message is sent to the receiver.
|
||||
|
||||
class Message
|
||||
class Message < Object
|
||||
|
||||
def get_type_for(name)
|
||||
index = @layout.get_index(name)
|
||||
|
@ -8,6 +8,6 @@
|
||||
# object. The smallest object is usually a cache line, 16 bytes or
|
||||
# an exponent of two larger.
|
||||
|
||||
class Page
|
||||
class Page < Object
|
||||
|
||||
end
|
||||
|
@ -8,6 +8,6 @@
|
||||
# "New" is slightly misleading in that normal operation only ever
|
||||
# recycles objects.
|
||||
|
||||
class Space
|
||||
class Space < Object
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user