Top Methods
org.jruby.ir.targets

public Interface InstanceVariableCompiler

Known Direct Implementers
org.jruby.ir.targets.indy.IndyInstanceVariableCompiler, org.jruby.ir.targets.simple.NormalInstanceVariableCompiler

Method Summary

Modifier and TypeMethod and Description
public void
getField(Runnable
runnable to push source object, may be called twice
source
,
String
name of variable to load
name
,
boolean
should the result be null instead of nil on non-existent field
rawValue
)

Load instance variable from self.

public void
putField(Runnable
runnable to push target object, may be called twice
target
,
Runnable
runnable to push value to assign, will only be called once
value
,
String
name of variable to store
name
)

Store instance variable into self.

Method Detail

getFieldback to summary
public void getField(Runnable source, String name, boolean rawValue)

Load instance variable from self.

Stack required: none Stack result: value from self

Parameters
source:Runnable

runnable to push source object, may be called twice

name:String

name of variable to load

rawValue:boolean

should the result be null instead of nil on non-existent field

putFieldback to summary
public void putField(Runnable target, Runnable value, String name)

Store instance variable into self.

Stack required: none Stack result: empty

Parameters
target:Runnable

runnable to push target object, may be called twice

value:Runnable

runnable to push value to assign, will only be called once

name:String

name of variable to store