pretty names for references
This commit is contained in:
parent
a2bfaf1b2c
commit
7551a16b6e
@ -1,6 +1,6 @@
|
||||
GIT
|
||||
remote: https://github.com/salama/salama-object-file.git
|
||||
revision: b00f49ade6338da0f6766211a749d2000d36899b
|
||||
revision: 9adf0b7e002ebef464abc1a3aa44c50c711e8a88
|
||||
specs:
|
||||
salama-object-file (0.1)
|
||||
|
||||
|
@ -34,6 +34,9 @@ module Parfait
|
||||
@object_layout.push name
|
||||
end
|
||||
|
||||
def sof_reference_name
|
||||
name
|
||||
end
|
||||
# ruby 2.1 list (just for reference, keep at bottom)
|
||||
#:allocate, :new, :superclass
|
||||
end
|
||||
|
@ -47,5 +47,10 @@ module Parfait
|
||||
def get_object_class()
|
||||
return @object_class
|
||||
end
|
||||
|
||||
def sof_reference_name
|
||||
"#{@object_class.name}_Layout"
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
@ -70,5 +70,9 @@ module Parfait
|
||||
var
|
||||
end
|
||||
|
||||
def sof_reference_name
|
||||
@name
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
@ -74,6 +74,11 @@ module Parfait
|
||||
c = Class.new_object(name , superclass)
|
||||
@classes[name] = c
|
||||
end
|
||||
|
||||
def sof_reference_name
|
||||
"space"
|
||||
end
|
||||
|
||||
end
|
||||
# ObjectSpace
|
||||
# :each_object, :garbage_collect, :define_finalizer, :undefine_finalizer, :_id2ref, :count_objects
|
||||
|
@ -69,6 +69,9 @@ module Register
|
||||
new TMP_REG
|
||||
end
|
||||
|
||||
def sof_reference_name
|
||||
@symbol
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user