Package org.jruby.ir.operands
Class Self
java.lang.Object
org.jruby.ir.operands.Operand
org.jruby.ir.operands.Variable
org.jruby.ir.operands.Self
-
Field Summary
FieldsFields inherited from class org.jruby.ir.operands.Operand
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionclone(SimpleCloneInfo ii) voidbooleangetId()inthashCode()booleanisSelf()retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) toString()voidMethods inherited from class org.jruby.ir.operands.Variable
addUsedVariables, canCopyPropagate, getSimplifiedOperand, getValueMethods inherited from class org.jruby.ir.operands.Operand
hasKnownValue, isFalseyImmediate, isTruthyImmediate
-
Field Details
-
SELF
-
-
Method Details
-
getId
-
getOperandType
- Specified by:
getOperandTypein classOperand
-
isSelf
public boolean isSelf() -
equals
-
hashCode
public int hashCode() -
retrieve
public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) -
clone
-
cloneForInlining
- Overrides:
cloneForInliningin classVariable
-
encode
-
visit
-
toString
-