Package org.jruby.ir.targets
Interface GlobalVariableCompiler
- All Known Implementing Classes:
IndyGlobalVariableCompiler
,NormalGlobalVariableCompiler
public interface GlobalVariableCompiler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getGlobalVariable
(String name, String file) Retrieve a global variable with the given name.void
setGlobalVariable
(String name, String file) Set the global variable with the given name to the value on stack.
-
Method Details
-
getGlobalVariable
Retrieve a global variable with the given name.Stack required: none
-
setGlobalVariable
Set the global variable with the given name to the value on stack.Stack required: the new value
-