org.jruby.compiler.ir.operands
Class Nil

java.lang.Object
  extended by org.jruby.compiler.ir.operands.Operand
      extended by org.jruby.compiler.ir.operands.Constant
          extended by org.jruby.compiler.ir.operands.Nil
Direct Known Subclasses:
UnexecutableNil

public class Nil
extends Constant


Field Summary
static Nil NIL
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Constant
cachedValue
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
protected Nil()
           
 
Method Summary
 Operand fetchCompileTimeArrayElement(int argIndex, boolean getSubArray)
           
 java.lang.Object retrieve(InterpreterContext interp)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Constant
isConstant
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
addUsedVariables, cloneForInlining, getSimplifiedOperand, getTargetClass, getValue, isNonAtomicValue, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NIL

public static final Nil NIL
Constructor Detail

Nil

protected Nil()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fetchCompileTimeArrayElement

public Operand fetchCompileTimeArrayElement(int argIndex,
                                            boolean getSubArray)
Overrides:
fetchCompileTimeArrayElement in class Operand

retrieve

public java.lang.Object retrieve(InterpreterContext interp)
Overrides:
retrieve in class Operand


Copyright © 2002-2009 JRuby Team. All Rights Reserved.