Package org.jruby.ir.operands
Class NullBlock
java.lang.Object
org.jruby.ir.operands.Operand
org.jruby.ir.operands.ImmutableLiteral
org.jruby.ir.operands.NullBlock
Represents Block.NULL block, the block that cannot be yielded.
-
Field Summary
FieldsFields inherited from class org.jruby.ir.operands.Operand
EMPTY_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptioncreateCacheObject
(ThreadContext context) Implementing class is responsible for constructing the cached value.static NullBlock
toString()
void
Methods inherited from class org.jruby.ir.operands.ImmutableLiteral
addUsedVariables, cachedObject, canCopyPropagate, cloneForInlining, hasKnownValue, isCached, retrieve
Methods inherited from class org.jruby.ir.operands.Operand
encode, getSimplifiedOperand, getValue, isFalseyImmediate, isTruthyImmediate
-
Field Details
-
INSTANCE
-
-
Method Details
-
getOperandType
- Specified by:
getOperandType
in classOperand
-
toString
-
createCacheObject
Description copied from class:ImmutableLiteral
Implementing class is responsible for constructing the cached value.- Specified by:
createCacheObject
in classImmutableLiteral
-
decode
-
visit
-