Package org.jruby.ir.targets.indy
Class IndyGlobalVariableCompiler
java.lang.Object
org.jruby.ir.targets.indy.IndyGlobalVariableCompiler
- All Implemented Interfaces:
GlobalVariableCompiler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetGlobalVariable(String name, String file) Retrieve a global variable with the given name.voidsetGlobalVariable(String name, String file) Set the global variable with the given name to the value on stack.
-
Field Details
-
compiler
-
-
Constructor Details
-
IndyGlobalVariableCompiler
-
-
Method Details
-
getGlobalVariable
Description copied from interface:GlobalVariableCompilerRetrieve a global variable with the given name.Stack required: none
- Specified by:
getGlobalVariablein interfaceGlobalVariableCompiler
-
setGlobalVariable
Description copied from interface:GlobalVariableCompilerSet the global variable with the given name to the value on stack.Stack required: the new value
- Specified by:
setGlobalVariablein interfaceGlobalVariableCompiler
-