Package org.jruby.ir.operands
Class TemporaryVariable
java.lang.Object
org.jruby.ir.operands.Operand
org.jruby.ir.operands.Variable
org.jruby.ir.operands.TemporaryVariable
- Direct Known Subclasses:
TemporaryLocalVariable
-
Field Summary
Fields inherited from class org.jruby.ir.operands.Operand
EMPTY_ARRAY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract TemporaryVariableType
getType()
Differentiates between different types of TemporaryVariables (useful for switch and persistence).int
hashCode()
toString()
void
Methods inherited from class org.jruby.ir.operands.Variable
addUsedVariables, canCopyPropagate, clone, cloneForInlining, getId, getSimplifiedOperand, getValue, isSelf
Methods inherited from class org.jruby.ir.operands.Operand
encode, hasKnownValue, isFalseyImmediate, isTruthyImmediate, retrieve
-
Constructor Details
-
TemporaryVariable
public TemporaryVariable()
-
-
Method Details
-
getOperandType
- Specified by:
getOperandType
in classOperand
-
getType
Differentiates between different types of TemporaryVariables (useful for switch and persistence). -
hashCode
public int hashCode() -
equals
-
visit
-
toString
-