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
- All Implemented Interfaces:
Comparable
-
Field Summary
FieldsFields inherited from class org.jruby.ir.operands.Operand
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(SimpleCloneInfo ii) intvoidbooleangetId()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
-
NAME
- See Also:
-
-
Constructor Details
-
Self
private Self()
-
-
Method Details
-
getId
-
getOperandType
- Specified by:
getOperandTypein classOperand
-
isSelf
public boolean isSelf() -
equals
-
retrieve
public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp) -
clone
-
cloneForInlining
- Overrides:
cloneForInliningin classVariable
-
encode
-
visit
-
compareTo
-
toString
-