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:
Torsten Ruger
2019-02-16 23:24:16 +02:00
parent 2fbea82039
commit 3db7707614
11 changed files with 175 additions and 10 deletions

View File

@ -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