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) void
boolean
getId()
int
hashCode()
boolean
isSelf()
retrieve
(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) toString()
void
Methods inherited from class org.jruby.ir.operands.Variable
addUsedVariables, canCopyPropagate, getSimplifiedOperand, getValue
Methods inherited from class org.jruby.ir.operands.Operand
hasKnownValue, isFalseyImmediate, isTruthyImmediate
-
Field Details
-
SELF
-
-
Method Details
-
getId
-
getOperandType
- Specified by:
getOperandType
in 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:
cloneForInlining
in classVariable
-
encode
-
visit
-
toString
-