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 NullBlocktoString()voidMethods inherited from class org.jruby.ir.operands.ImmutableLiteral
addUsedVariables, cachedObject, canCopyPropagate, cloneForInlining, hasKnownValue, isCached, retrieveMethods inherited from class org.jruby.ir.operands.Operand
encode, getSimplifiedOperand, getValue, isFalseyImmediate, isTruthyImmediate
-
Field Details
-
INSTANCE
-
-
Method Details
-
getOperandType
- Specified by:
getOperandTypein classOperand
-
toString
-
createCacheObject
Description copied from class:ImmutableLiteralImplementing class is responsible for constructing the cached value.- Specified by:
createCacheObjectin classImmutableLiteral
-
decode
-
visit
-