org.jruby.compiler.ir.operands
Class GlobalVariable

java.lang.Object
  extended by org.jruby.compiler.ir.operands.Operand
      extended by org.jruby.compiler.ir.operands.Variable
          extended by org.jruby.compiler.ir.operands.GlobalVariable
All Implemented Interfaces:
java.lang.Comparable

public class GlobalVariable
extends Variable


Field Summary
 java.lang.String name
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
GlobalVariable(java.lang.String name)
           
 
Method Summary
 Operand cloneForInlining(InlinerInfo ii)
           
 int compareTo(java.lang.Object arg0)
           
 java.lang.String getName()
           
 java.lang.Object retrieve(InterpreterContext interp)
           
 java.lang.Object store(InterpreterContext interp, java.lang.Object value)
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Variable
addUsedVariables, getSimplifiedOperand, getValue
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
fetchCompileTimeArrayElement, getTargetClass, isConstant, isNonAtomicValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final java.lang.String name
Constructor Detail

GlobalVariable

public GlobalVariable(java.lang.String name)
Method Detail

cloneForInlining

public Operand cloneForInlining(InlinerInfo ii)
Overrides:
cloneForInlining in class Variable

getName

public java.lang.String getName()
Specified by:
getName in class Variable

compareTo

public int compareTo(java.lang.Object arg0)

retrieve

public java.lang.Object retrieve(InterpreterContext interp)
Overrides:
retrieve in class Operand

store

public java.lang.Object store(InterpreterContext interp,
                              java.lang.Object value)
Overrides:
store in class Operand


Copyright © 2002-2009 JRuby Team. All Rights Reserved.