actually start doing something in to_mom
though still dummy
This commit is contained in:
@ -5,3 +5,5 @@ module Mom
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
require_relative "slot_load"
|
||||
|
6
lib/mom/slot_load.rb
Normal file
6
lib/mom/slot_load.rb
Normal file
@ -0,0 +1,6 @@
|
||||
module Mom
|
||||
|
||||
class SlotLoad < Instruction
|
||||
end
|
||||
|
||||
end
|
@ -14,6 +14,9 @@ module Vool
|
||||
def add_local( array )
|
||||
array << @name
|
||||
end
|
||||
def to_mom( method )
|
||||
Mom::SlotLoad.new
|
||||
end
|
||||
end
|
||||
class InstanceAssignment < Assignment
|
||||
# used to collect type information
|
||||
|
Reference in New Issue
Block a user