Get a basic MetaClass going
Does get created in new, but not in boot. Also not yet used in compiling
This commit is contained in:
@ -18,10 +18,11 @@ module Parfait
|
||||
class Class < Object
|
||||
include Behaviour
|
||||
|
||||
attr :type, :instance_type , :name , :instance_methods , :super_class_name
|
||||
attr :type, :instance_type , :name , :instance_methods
|
||||
attr :super_class_name , :meta_class
|
||||
|
||||
def self.type_length
|
||||
5
|
||||
6
|
||||
end
|
||||
|
||||
def initialize( name , superclass , instance_type)
|
||||
@ -30,6 +31,7 @@ module Parfait
|
||||
self.super_class_name = superclass
|
||||
self.instance_methods = List.new
|
||||
set_instance_type( instance_type )
|
||||
self.meta_class = MetaClass.new( self )
|
||||
end
|
||||
|
||||
def rxf_reference_name
|
||||
|
Reference in New Issue
Block a user