Top Fields Constructors Methods
org.jruby.ir.targets.indy

public Class IndyGlobalVariableCompiler

extends Object
implements GlobalVariableCompiler
Class Inheritance
All Implemented Interfaces
org.jruby.ir.targets.GlobalVariableCompiler
Imports
org.jruby.ir.targets.GlobalVariableCompiler, .IRBytecodeAdapter, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.invokedynamic.GlobalSite, org.jruby.util.JavaNameMangler

Field Summary

Modifier and TypeField and Description
private final IRBytecodeAdapter

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
getGlobalVariable(String name, String file)

Implements org.jruby.ir.targets.GlobalVariableCompiler.getGlobalVariable.

Retrieve a global variable with the given name.

public void
setGlobalVariable(String name, String file)

Implements org.jruby.ir.targets.GlobalVariableCompiler.setGlobalVariable.

Set the global variable with the given name to the value on stack.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compilerback to summary
private final IRBytecodeAdapter compiler

Constructor Detail

IndyGlobalVariableCompilerback to summary
public IndyGlobalVariableCompiler(IRBytecodeAdapter compiler)

Method Detail

getGlobalVariableback to summary
public void getGlobalVariable(String name, String file)

Implements org.jruby.ir.targets.GlobalVariableCompiler.getGlobalVariable.

Doc from org.jruby.ir.targets.GlobalVariableCompiler.getGlobalVariable.

Retrieve a global variable with the given name.

Stack required: none

Annotations
@Override
setGlobalVariableback to summary
public void setGlobalVariable(String name, String file)

Implements org.jruby.ir.targets.GlobalVariableCompiler.setGlobalVariable.

Doc from org.jruby.ir.targets.GlobalVariableCompiler.setGlobalVariable.

Set the global variable with the given name to the value on stack.

Stack required: the new value

Annotations
@Override