Top Fields Constructors Methods
org.jruby.ir.operands

public Class UnexecutableNil

extends Nil
Class Inheritance
Imports
org.jruby.ir.IRVisitor, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, .ThreadContext, org.jruby.runtime.builtin.IRubyObject

Field Summary

Modifier and TypeField and Description
public static final UnexecutableNil

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public OperandType
public Object
retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp)

Overrides org.jruby.ir.operands.ImmutableLiteral.retrieve.

retrieve the live value represented by this immutable literal.

public String
toString()

Overrides org.jruby.ir.operands.Nil.toString.

Returns a string representation of the object.

public void
Inherited from org.jruby.ir.operands.Nil:
createCacheObjectisFalseyImmediate

Field Detail

U_NILback to summary
public static final UnexecutableNil U_NIL

Constructor Detail

UnexecutableNilback to summary
private UnexecutableNil()

Method Detail

getOperandTypeback to summary
public OperandType getOperandType()

Overrides org.jruby.ir.operands.Nil.getOperandType.

Annotations
@Override
retrieveback to summary
public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp)

Overrides org.jruby.ir.operands.ImmutableLiteral.retrieve.

Doc from org.jruby.ir.operands.ImmutableLiteral.retrieve.

retrieve the live value represented by this immutable literal. An interesting property of knowing something cannot change at compile time is that all information necessary to construct it is also known at compile time. We don't pre-create these since we don't want to assume the cost of constructing literals which may never be used.

Annotations
@Override
toStringback to summary
public String toString()

Overrides org.jruby.ir.operands.Nil.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
visitback to summary
public void visit(IRVisitor visitor)

Overrides org.jruby.ir.operands.Nil.visit.

Annotations
@Override