removes class statements
classes have to be created in melon, a level up
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
module Typed
|
||||
module ClassStatement
|
||||
|
||||
def on_ClassStatement statement
|
||||
|
||||
raise "classes dont yet play babushka, get coding #{statement.name}" if @type
|
||||
|
||||
@type = Parfait::Space.object_space.get_class_by_name!(statement.name).instance_type
|
||||
#puts "Compiling class #{@type.inspect}"
|
||||
statement_value = process(statement.statements).last
|
||||
@type = nil
|
||||
return statement_value
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user