org.jruby.compiler.ir.operands
Class RenamedVariable
java.lang.Object
org.jruby.compiler.ir.operands.Operand
org.jruby.compiler.ir.operands.Variable
org.jruby.compiler.ir.operands.TemporaryVariable
org.jruby.compiler.ir.operands.RenamedVariable
- All Implemented Interfaces:
- java.lang.Comparable
public class RenamedVariable
- extends TemporaryVariable
Generic variable with a custom prefix -- mostly used during optimization passes
where we need to rename existing variables
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RenamedVariable
public RenamedVariable(java.lang.String prefix,
int offset)
getPrefix
public java.lang.String getPrefix()
- Overrides:
getPrefix
in class TemporaryVariable
retrieve
public java.lang.Object retrieve(InterpreterContext interp)
- Overrides:
retrieve
in class TemporaryVariable
store
public java.lang.Object store(InterpreterContext interp,
java.lang.Object value)
- Overrides:
store
in class TemporaryVariable
Copyright © 2002-2009 JRuby Team. All Rights Reserved.