2015-05-06 08:55:14 +03:00
|
|
|
module Virtual
|
|
|
|
|
2015-05-30 12:20:39 +03: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 08:55:14 +03:00
|
|
|
class InstanceGet < Instruction
|
|
|
|
def initialize name
|
|
|
|
@name = name.to_sym
|
|
|
|
end
|
|
|
|
attr_reader :name
|
|
|
|
end
|
|
|
|
end
|