2015-05-06 07:55:14 +02:00
|
|
|
module Virtual
|
|
|
|
|
2015-05-30 11:20:39 +02:00
|
|
|
# Get a instance variable by _name_ . So we have to resolve the name to an index to
|
|
|
|
# transform into a Slot
|
|
|
|
# The slot may the be used in a set on left or right hand.
|
|
|
|
# The transformation is done by GetImplementation
|
2015-05-06 07:55:14 +02:00
|
|
|
class InstanceGet < Instruction
|
|
|
|
def initialize name
|
|
|
|
@name = name.to_sym
|
|
|
|
end
|
|
|
|
attr_reader :name
|
|
|
|
end
|
|
|
|
end
|