org.jruby.compiler.ir.operands
Class TemporaryVariable
java.lang.Object
org.jruby.compiler.ir.operands.Operand
org.jruby.compiler.ir.operands.Variable
org.jruby.compiler.ir.operands.TemporaryVariable
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- RenamedVariable, TemporaryClosureVariable
public class TemporaryVariable
- extends Variable
A set of variables which are only used in a particular scope and never
visible to Ruby itself.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TemporaryVariable
public TemporaryVariable(int offset)
getName
public java.lang.String getName()
- Specified by:
getName
in class Variable
compareTo
public int compareTo(java.lang.Object other)
getPrefix
public java.lang.String getPrefix()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
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.