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 TypeMethodDescriptionbooleanabstract TemporaryVariableTypegetType()Differentiates between different types of TemporaryVariables (useful for switch and persistence).inthashCode()toString()voidMethods inherited from class org.jruby.ir.operands.Variable
addUsedVariables, canCopyPropagate, clone, cloneForInlining, getId, getSimplifiedOperand, getValue, isSelfMethods inherited from class org.jruby.ir.operands.Operand
encode, hasKnownValue, isFalseyImmediate, isTruthyImmediate, retrieve
-
Constructor Details
-
TemporaryVariable
public TemporaryVariable()
-
-
Method Details
-
getOperandType
- Specified by:
getOperandTypein classOperand
-
getType
Differentiates between different types of TemporaryVariables (useful for switch and persistence). -
hashCode
public int hashCode() -
equals
-
visit
-
toString
-