Class UnexecutableNil


public class UnexecutableNil extends Nil
  • Field Details

  • Method Details

    • getOperandType

      public OperandType getOperandType()
      Overrides:
      getOperandType in class Nil
    • toString

      public String toString()
      Overrides:
      toString in class Nil
    • retrieve

      public Object retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp)
      Description copied from class: ImmutableLiteral
      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.
      Overrides:
      retrieve in class ImmutableLiteral
    • visit

      public void visit(IRVisitor visitor)
      Overrides:
      visit in class Nil