Package org.jruby.ir.targets.simple
Class NormalInstanceVariableCompiler
java.lang.Object
org.jruby.ir.targets.simple.NormalInstanceVariableCompiler
- All Implemented Interfaces:
InstanceVariableCompiler
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NormalInstanceVariableCompiler
-
-
Method Details
-
putField
Description copied from interface:InstanceVariableCompiler
Store instance variable into self.Stack required: none Stack result: empty
- Specified by:
putField
in interfaceInstanceVariableCompiler
- Parameters:
target
- runnable to push target object, may be called twicevalue
- runnable to push value to assign, will only be called oncename
- name of variable to store
-
getField
Description copied from interface:InstanceVariableCompiler
Load instance variable from self.Stack required: none Stack result: value from self
- Specified by:
getField
in interfaceInstanceVariableCompiler
- Parameters:
source
- runnable to push source object, may be called twicename
- name of variable to loadrawValue
- should the result be null instead of nil on non-existent field
-